base64Encode

Encodes the specified string by Base64 method

Syntax

base64Encode = function(aText);

Parameters

  • aText
    • functions: source string

Returned value

  • functions: encoded string

Examples

  1. var encoded = base64Encode('base64');
    //encoded = 'YmFzZTY0'