1.1.0 • Published 9 months ago

@themythicalcoder/caesar-cipher-encryption v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

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);