encode.js
v1.0.2
Published
An algorithm that can be used to cipher plain text
Downloads
4
Readme
1: Installing Encode.js
npm i -S encode.js
2: Setting up Encode.js in your project
const encodeJS = require("encode.js");
3: Functions within Encode.js
const encodeJS = require("encode.js");
//encoding
encodeJS.encode("encode.js"); //output: 'zpmLlR2bj5WZ'
//decoding
encodeJS.decode("zpmLlR2bj5WZ"); //output: 'encode.js'
//encoding with cipher
encodeJS.encode_withCipher("encode.js"); //output: '84kkDihTSOIKKJ5gE4kkDCgTSOILOJ5g8rkkDiiTSOIBOJ5'
//decoding with cipher
encodeJS.decode_withCipher("84kkDihTSOIKKJ5gE4kkDCgTSOILOJ5g8rkkDiiTSOIBOJ5"); //output: 'encode.js'