Answers for "js toString('base64')"

24

javascript base64 encode string

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