Skip to content

Rishi963/Caesar-Cipher-Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published