public static String encryptValueAsJwtDirectAes128Sha256 ( final Key key , final Serializable value ) { return encryptValueAsJwt ( key , value , KeyManagementAlgorithmIdentifiers . DIRECT , CipherExecutor . DEFAULT_CONTENT_ENCRYPTION_ALGORITHM ) ; }
Encrypt value as jwt with direct algorithm and encryption content alg aes - 128 - sha - 256 .