aesEncode128

aesEncode128

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

Overview

The aesEncode128 function takes encryption_key and encryption_value as arguments, and returns an encrypted text using AES (Advanced Encryption Standard).

Note:

  • The encryption_key needs to be used while performing decryption.
  • There is no limit to the number of characters that the encryption_key can contain.
  • The encryption is performed with 128 bits.

Return Type

  • TEXT

Syntax

<variable>=zoho.encryption.aesEncode128(<encryption_key>,<encryption_value>);

where,

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

The key which will be referenced during both the encryption and decryption.

<encryption_value>TEXTThe piece of text that needs to be encrypted.

Examples

info zoho.encryption.aesEncode("passkey","This is a secret");// Returns "k0pJwR3zn/uVpd3OlemqcMOBhfKAA6mtNHmc+5KZCXhEMBK29kCzU0njXNOkwNs1"

where:

passkey
This is the encryption key
This is a secret
This is the value to be encrypted

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com