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: 1.Verify if a node exists. 2.Test if a node is ...
    • ng:resourceExist

      ng:resourceExist(resource,path) This function checks, if a resource in InterFormNG2 exists or not. The function returns a boolean: true or false. The ng:resourceExist Xpath function has this format: ng:resourceExist(resource,path), where: resource ...
    • 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 2 ...