🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

caesarize

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caesarize

a caesar cipher decoder and encoder in typescript!

1.0.0
latest
Source
npm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

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!"

Keywords

typescript

FAQs

Package last updated on 30 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts