base64-gui
v2.0.0
Published
This module encodes a text into base64 while also shows the steps involved when run in cmd window.
Downloads
17
Readme
This tool converts an input into its base64 representation as well as demonstartes the processs (when input is passed as argument). Example: Input***
- node base64.js Devashish *
Output** 8 bit representation of input: (D).01000100 (e).01100101 (v).01110110 (a).01100001 (s).01110011 (h).01101000 (i).01101001 (s).01110011 (h).01101000 Chunks of 6 bits: 010001 000110 010101 110110 011000 010111 001101 101000 011010 010111 001101 101000 RGV2YXNoaXNo
To conver the content of a file use "-F" before the fileName (Without space). example: node base64.js -FDevashish.txt
To use the code from your existing code, use the following: var base64=require("base64-gui"); base64.convert("Devashish");
