The btoa() method encodes a string in base-64.
The btoa() method is not supported in IE9 and earlier.