Question
· Feb 19, 2019

How to use DES encryption on Caché 2016.2

I have a requirement to use DES encryption, but looking at the document found no support. I want to know how to solve it.

Discussion (2)2
Log in or sign up to continue

Take a look at methods in the %SYSTEM.Encryption class.

Like many of the classes in the %SYSTEM package, you can easily access its methods via $SYSTEM, e.g.

USER>d $system.Encryption.Help()
'Do $system.Encryption.Help(method)' will display a full description of an individual method.
 
Methods of the class: %SYSTEM.Encryption
 
AESCBCDecrypt(ciphertext,key,IV)
     This method performs AES decryption in Cipher Block Chained (CBC) mode.

...