File: test.js

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  JavaScript Base64 Encode and Decode  >  test.js  >  Download  
File: test.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: JavaScript Base64 Encode and Decode
Encode and decode data in base64 format in pure JS
Author: By
Last change: Update of test.js
Date: 1 month ago
Size: 197 bytes


Class file image Download
var base64JS = require('./base64');

var encoded = base64JS.encode("TEST123");
var decoded = base64JS.decode("VEVTVDEyMw==");
console.log('Encoded: ' + encoded);
console.log('Decoded: ' + decoded);