Overview
Contains Functions that expose functionality provided by the Java Cryptography Architecture (JCA):
Note: The JCA framework uses different "providers" to implement specific cryptographic algorithms. Provider implementations need to be installed prior to use.
See https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html for more details.
I can't get the provider argument to work I keep getting "Expression evaluation error at function 'keyencrypt': The provided iv (SunJCE) is not a valid hex string."
keyencrypt( cleartext:a!toJson(value: {ClaimOne:"SECRET" , ClaimTwo: "SECRET" , ClaimThree: "SECRET" }) , key: text2hex("KjEP3N8I4zLmT9n0N/CNuQ==") , transformation : "AES/ECB/PKCS5Padding" , provider: "SunJCE" )