Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js base64 encoding

str = "The quick brown fox jumps over the lazy dog";
b64 = btoa(unescape(encodeURIComponent(str)));
str = decodeURIComponent(escape(window.atob(b64)));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #encoding
ADD COMMENT
Topic
Name
4+4 =