If you still need the SEF-files, please let me kniw your e-mail address and I can send it to you too.

Hi Jose,

I can provide a SEF file for D01B to you. But please note,  I haven't used it myself and it is not an official InterSystems product. Use is at your own risk. My customer typically use D96A.

I have attached it to this answer.

Hope this helps

Michael

You need to wrap it into a classmethod which is exposed as a stored procedure as in the example below:

Class DC.Utils [ Abstract ]
{

ClassMethod AESBCEncrypt(
pPlainText As %String,
pKey As %String) As %String [ SqlProc ]
{

return $system.Encryption.AESCBCEncrypt(pPlainText, pKey)
}

}

 Once you have done this, you can use something like:

update sample.person (Name) values (DC.Utils_AESBCEncrypt(name,'key'))