Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | encrypt(textToEncrypt, cipherKey) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipherusing AES-256. |
Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipherusing AES-256. This is useful when using Persistent Variables to store passwords. Returns the encrypted input text.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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.
Example
Code Block |
---|
return encrypt("adminPassword", "secretKeyPhrase7"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "string_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|