public static byte[] build3DesKey(String keyStr) {
        try {
            byte[] key = "000000000000000000000000".getBytes(ENCODING);
            byte[] temp = keyStr.getBytes(ENCODING);
            if (key.length > temp.length) {
                System.arraycopy(temp, 0, key, 0, temp.length);
            } else {
                System.arraycopy(temp, 0, key, 0, key.length);
            }
            return key;
        } catch (Exception e) {
            return null;
        }
    }
build 3DesKey
@param keyStr the key of encryption
@return
inlong-sort/sort-core/src/main/java/org/apache/inlong/sort/function/EncryptFunction.java