@Override
    public String format() {
        return String.format("%s(CAST(%s AS STRING), %s, %s)",
                getName(), field.format(), key.format(), encrypt.format());
    }
EncryptFunction constructor

@param field it is character to be encrypted
@param key the key of encryption
@param encrypt encryption algorithm
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/transformation/function/EncryptFunction.java