ng:decrypt

ng:decrypt

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')



    • Related Articles

    • ng:encrypt

      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 ...
    • ng:numberFormat

      This section describes the built-in function: ng:numberFormat(number, locale, mask, customErrorMessage) The function can be used for presenting/formatting a number as you want. Important note regarding rounding of numbers in InterFormNG2 versions ...
    • ng:compare

      A compare of two values seems very simple on the surface, but with standard XPath there are some potential challenges e.g. if null is compared with an empty string. Some recommendations are found here: Verifying if a node exists Checking if a node is ...
    • ng:minimum

      InterFormNG2 includes the special built-in XPath function, ng:minimum. This function returns the smallest value of two numeric arguments. The function only accepts two numeric arguments - no more and no less. Examples: ng:minimum(-14,2) returns: -14 ...
    • ng:base64

      The built-in function, ng:base64() converts a string (text) into a base64 based string. This can e.g. be used, if you want to insert any kind of data into an XML node, without substituting any characters, that are not allowed. This function is ...