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

encrypt(textToEncrypt, cipherKey)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Encrypts text

with AES encryption using a 16, 32, 64, or 128 bit cipher

using AES-256.

Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipherusing AES-256. This is useful when using Persistent variablesVariables 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.

Password.

Return Type

String

Returns the encrypted input text.

Example

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