aesDecode128

aesDecode128

Note: This function is available in all Zoho services except Zoho Creator.

Overview

The aesDecode128 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 128 bits.

Return Type

  • TEXT

Syntax

<variable>=zoho.encryption.aesDecode128(<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","k0pJwR3zn/uVpd3OlemqcMOBhfKAA6mtNHmc+5KZCXhEMBK29kCzU0njXNOkwNs1");// Returns "This is a secret"

where:

passkey
This is the encryption key
k0pJwR3zn/uVpd3OlemqcMOBhfKAA6mtNHmc+5KZCXhEMBK29kCzU0njXNOkwNs1
This is the encrypted value

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com