base64encode()

base64encode()

Overview

The base64encode() function takes a text as an argument, and returns it after encoding it to base64 encoding scheme. This task serves its purpose best for confidential text such as account credentials.

Return Type

  • Text

Syntax

<variable> = zoho.encryption.base64Encode( <string> );
ParameterDescriptionData type
<variable>Variable which will contain the returned value.TEXT
<string>

The string to be encoded.

Except TEXT, all other data types will return null. 

TEXT

Examples

baseEncoded = zoho.encryption.base64Encode("john@zillum.com:john@1");
​// returns YXlpc2hhLnNoYWphaGFuQHpvaG9jb3JwLmNvbTpheWlzaGFAMQ==

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com