@themythicalcoder/caesar-cipher-encryption

1.1.0 • Public • Published

Caesar-Cipher-Encryption

This package allows you to Encrypt and Decrypt the given data using the ** Caesar Cipher Encryption**.

Docs!

Import the module and call the cipher function with the paramaeters.

Data : Data that need to be encrypted or decrypted. Shift : Shift value, eg: 2. Method : Encryption or Decryption

Use the encrypt method to encrypt the data.

const cipher = require("caesar-cipher-encryption");

var encryptedText = cipher("data",5,encrypt);
console.log(encryptedText);

Use the decrypt method to decrypt the data.

const cipher = require("caesar-cipher-encryption");

var decryptedText = cipher("data",5,decrypt);
console.log(decryptedText);

Package Sidebar

Install

npm i @themythicalcoder/caesar-cipher-encryption

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

3.08 kB

Total Files

3

Last publish

Collaborators

  • themythicalcoder