Cryze Zhang · 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.

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

Please do not use DES as it's currently a broken cypher with bruteforce time of about a day.

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
     This method performs AES decryption in Cipher Block Chained (CBC) mode.