Notifications

145 views

Overview


Decrypting attachments using a script

Decryption


You can encrypt using,

sysAttachment.changeEncryptionContext(attachmentGR.getValue("table_name"), attachmentGR.getValue("table_sys_id"), attachmentGR.sys_id, encryptionId); 

and you can decrypt by passing a empty encryptionId

Example


sysAttachment.changeEncryptionContext(attachmentGR.getValue("table_name"), attachmentGR.getValue("table_sys_id"), attachmentGR.sys_id, ""); 

Additional Information


Article Information

Last Updated:2019-01-02 02:53:32
Published:2019-01-02