The built-in function, ng:decrypt is linked with the encryption functions: ng:encrypt and the workflow component, Set secure workflow variable.
The function, ng:decrypt can decrypt contents, that was previously encrypted with these functions.
The function only accepts a single string as parameter.
Limitations of the ng:decrypt function:
•It is only able to decrypt data, that has been encrypted in the same installation.
•It is only allowed to run the ng:decrypt function inside these workflow components: Set secure workflow variables, Digital Sign, Samba read/write, PDF Restrict and Rest API calls.
ng:decrypt('DecryptThis')