aesEncode

aesEncode

Overview

The aesEncode 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 using 256 bits.

Return Type

  • TEXT

Syntax

<variable>=zoho.encryption.aesEncode(<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 "p37PG45iIk8Nf4d0vY8fEaWf8UKdcXFHuVcKX/RegWrMDtJwVqHai/pcW8gtE7Ab"

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