Versions Compared

Key

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

Syntax

encrypt(textToEncrypt, cipherKey)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipher.

Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipher. This is useful when using Persistent variables to store passwords. Returns the encrypted input text.

...

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

Parameter name

Type

Required

Description

textToEncrypt

String

Yes

Text to encrypt

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

Returns the encrypted input text

...

Code Block
return encrypt("adminPassword", "secretKeyPhrase7");

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "

...

string_routine" and space = currentSpace ( )
labelsarray_routines