From: Tristan Cavelier Here you'll find different implementations of btoa and atob [base64.js].
Here you'll find different implementations of btoa and atob [base64.js].