goja-web/src/main/java/goja/security/goja/SecurityKit.java
private static String encrypt(String value) {
        byte[] data = encrypt(value.getBytes(), E_KEY);
        try {
            return URLEncoder.encode(new String(Base64.encodeBase64(data)), StringPool.UTF_8);
        } catch (UnsupportedEncodingException e) {
            return null;
        }
    }
private static String encrypt(String value) {
        byte[] data = encrypt(value.getBytes(), E_KEY);
        try {
            return URLEncoder.encode(new String(Base64.encodeBase64(data)), StringPool.UTF_8);
        } catch (UnsupportedEncodingException e) {
            return null;
        }
    }
private static String encrypt ( String value ) { byte [ ] data = encrypt ( value . getBytes ( ) , E_KEY ) ; try { return URLEncoder . encode ( new String ( Base64 . encodeBase64 ( data ) ) , StringPool . UTF_8 ) ; } catch ( UnsupportedEncodingException e ) { return null ; } }
encrypt

@param value encry string
@return ciphertext.
encrypt