caesarize

1.0.0 • Public • Published

Caesarize

npm version npm downloads

Package available on NPM

A simple node module built in Typescript that uses Caesar Cipher to encrypt and decrypt text!

What is Caesar Cipher?

Caesar Cipher is a substitution cipher that alters text by shifting the alphabet by a certain number determined by the user.

Installation:

npm install caesarize

Usage:

const caesarize = require("caesarize");

Example Output

Caesarize.encrypt("Hello, World!", 5); // "Mjqqt, Btwqi!"
Caesarize.encrypt("Hello, World!", -10); // "Xubbe, Mehbt!"

Caesarize.decrypt("Mjqqt, Btwqi!", 5); // "Hello, World!"
Caesarize.decrypt("Xubbe, Mehbt!", -10); // "Hello, World!"

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i caesarize

    Weekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    20.8 kB

    Total Files

    10

    Last publish

    Collaborators

    • i.dev