Javascript implementation of the Caesar Cipher
npm install js-cipher
$ npm install js-cipher
`
Usage
Start by import-ing the module:
`js
import Cipher from "js-cipher";
`
or require-ing it:
`js
const { Cipher } = require("js-cipher");
`
It returns a Class containing 2 usable methods, encrypt and decrypt.
`js
const cipher = new Cipher();
cipher.encrypt("Hello world!", 3);
// Khoor zruog!
cipher.decrypt("Khoor zruog!", 3);
//Hello world!
``