1.0.5 • Published 4 years ago

js-cipher v1.0.5

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

js-cipher

Build Status

A Caesar Cipher Implementation in Javascript, allowing you to encrypt and decrypt your texts.

Install

$ npm install js-cipher

Usage

Start by import-ing the module:

import Cipher from "js-cipher";

or require-ing it:

const { Cipher } = require("js-cipher");

It returns a Class containing 2 usable methods, encrypt and decrypt.

const cipher = new Cipher();

cipher.encrypt("Hello world!", 3);
// Khoor zruog!

cipher.decrypt("Khoor zruog!", 3);
//Hello world!

License

MIT © Arlind Xhakoli

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago