Syntax
decrypt(textToDecrypt, cipherKey)
Description
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
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
Returns the decrypted input text
Example
return decrypt("¸øb!v„öÉÙ'äW1‡", "secretKeyPhrase7");
Returns "adminPassword"
See also