hex-transposition-cipher
hexadecimal transposition cipher for shuffle and reverse shuffling hex encoded cipher text for nodejs and the browser.
Adds an extra layer of protection to your already encrypted code's hex output by essentially turning it into nothing but valid hex.
demo: https://angeal185.github.io/hex-transposition-cipher/
Installation
npm
$ npm install hex-transposition-cipher
nodejs
$ const htc = require;
browser
info
// defaults decode: false // set true for decrypt reverse: false // reverse encrypted/decrypted hex string // htc.keyGenSync()const key = htc; //generates random hex key from the default keyconsole // returns hex key ~ dont lose this /** * htc.keyGen(callback) * @param */ htc; /** * htc.subSync(hex, key, config) * @param * @param * @param */ let res = htc;console; // returns encrypted hex string res = htc;console; // returns decrypted hex string res = htc;console; // returns encrypted hex string and reverses the output of the string res = htc;console; // returns decrypted hex string that has been reversed /** * htc.sub(hex, key, config, callback) * @param * @param * @param * @param */ htc ...