base64Encode

Description

Encodes text in Base64. This is useful when transferring data like attaching a signature to the bottom of an email or storing images in a database. Returns the input text base64 encoded.

Parameters

Return Type

String

Example

return base64Encode("Encode this text!");

Returns "RW5jb2RlIHRoaXMgdGV4dCE="

See also

Peacock