aesDecode

aesDecode

Overview

The aesDecode function takes encryption_key and encrypted_value as arguments, and returns the decrypted (original) text using AES (Advanced Encryption Standard).

Note:

  • If the key or the encrypted text is incorrect, a runtime error will be encountered.
  • The encryption_key is the key that was used while performing encryption.
  • The decryption is performed using 256 bits.

Return Type

  • TEXT

Syntax

<variable>=zoho.encryption.aesDecode(<encryption_key>,<encrypted_value>);

where,

ParameterData typeDescription
<variable>TEXTVariable which will contain the decrypted text value.
<encryption_key>TEXT

The key used during encryption of the text.

<encrypted_value>TEXT

The encrypted text that need to be decrypted.

Examples

info zoho.encryption.aesDecode("passkey","p37PG45iIk8Nf4d0vY8fEaWf8UKdcXFHuVcKX/RegWrMDtJwVqHai/pcW8gtE7Ab");// Returns "This is a secret"

where:

passkey
This is the encryption key
p37PG45iIk8Nf4d0vY8fEaWf8UKdcXFHuVcKX/RegWrMDtJwVqHai/pcW8gtE7Ab
This is the encrypted value

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com