You are UTF-8 encoding the binary ciphertext, which scrambles it, before Base64 encoding it:
s ciphertext=$SYSTEM.Encryption.Base64Encode($ZCONVERT(enctext,"O","UTF8"),1) W !,"ciphertext: ",?12,ciphertext
- Log in to post comments
You are UTF-8 encoding the binary ciphertext, which scrambles it, before Base64 encoding it:
s ciphertext=$SYSTEM.Encryption.Base64Encode($ZCONVERT(enctext,"O","UTF8"),1) W !,"ciphertext: ",?12,ciphertext