Please enable JavaScript to view this site.

InterFormNG2 Manual

The built-in function, ng:encrypt() can be used for encrypting data e.g. a password in InterFormNG2. The related workflow component, Set secure workflow variable is normally a better choice for saving passwords.

 

The ng:encrypt function only has a single parameter, which is the string, that is to be encrypted. The string is encrypted with a key, that is specific to the current installation so it cannot be decrypted on another installation.

 

The encrypted data can only be decrypted with the built-in function, ng:decrypt(), which is only allowed to be called in some workflow components.

 

Example:

 

ng:encrypt('EncryptThis')