Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

decrypt(textToDecrypt, cipherKey)

Package


Alias


Pkg Usage


Description

Excerpt
hiddentrue

Decrypts text with AES Decryption using a 16, 32, 64, or 128 bit cipher.

Decrypts text with AES Decryption using a 16, 32, 64, or 128 bit cipher. This is useful when retrieving password stored in Persistent variables.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

textToDecrypt

String

Yes

Text to decrypt

cipherKey

String

Yes

Secret cipher key text used for encryption and decryption. Must be 16, 32, 64, or 128 characters in length.

Return Type

String

Example

Code Block
languagejs
return decrypt(""¸øb!v„öÉÙ'äW1‡", "secretKeyPhrase7");

Returns "adminPassword"

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "string_routine" and space = currentSpace ( )
labelsarray_routines