Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js encryption two way

// if security is not a deal, you can use the native js base64

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
 
PREVIOUS NEXT
Tagged: #js #encryption
ADD COMMENT
Topic
Name
4+5 =