atbash-cipher
atbash cipher in javascript for nodejs and the browser
demo: https://angeal185.github.io/atbash-cipher/
Installation
npm
$ npm install atbash-cipher --save
bower
$ bower install atbash-cipher
git
$ git clone git@github.com:angeal185/atbash-cipher.git
nodejs
const atbash =
browser
API
/** * shuffles your shift key (optional) * @param **/atbash /** * callback * @param * @param * @param * @param **/atbash //returns callback /** * sync * @param * @param * @param **/atbash //returns a string /** * promise * @param * @param * @param **/atbash //returns a promise // demo const atbash = ; { let test = '8476235846328abcdcdef' key = atbash; //keygen console //sync console let syncEnc = atbash; console let syncDec = atbash console ifsyncEncerr console else ifsyncDecerr console else console //callback console atbash // promise console atbash}