Answers for "base-64 in javascript"

24

javascript base64 encode

var string = "Hello folks how are you doing today?";
var encodedString = btoa(string); // Base64 encode the String
var decodedString = atob(encodedString); // Base64 decode the String
Posted by: Guest on July-31-2019

Code answers related to "Javascript"

Browse Popular Code Answers by Language