base64Encode ( string txt ) : string
Encode in base 64
Example
console(base64Encode("Hello World!")) // -> SGVsbG8gV29ybGQh
Parameters
txt
The text to encode.
Encode in base 64
console(base64Encode("Hello World!")) // -> SGVsbG8gV29ybGQh