Socket
Book a DemoInstallSign in
Socket

@ilihub/cipher

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ilihub/cipher

A collection of useful cipher cryptography TypeScript functions.

Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@ilihub/cipher

A collection of useful cipher cryptography TypeScript functions.

NPM Version NPM CodeFactor Socket Badge

Installation

# if you're using pnpm
pnpm add @ilihub/cipher

# or, if you're using npm
npm install @ilihub/cipher

# or, if you're using yarn
yarn add @ilihub/cipher

Usage

import { CaesarCipher } from "@ilihub/cipher";

const caesarCipher = new CaesarCipher();

const encrypted = caesarCipher.encrypt("Hello World", 3);
console.log(encrypted); // Khoor Zruog

const decrypted = caesarCipher.decrypt(encrypted, 3);
console.log(decrypted); // Hello World

const alldecrypted = caesarCipher.decryptAll(encrypted);
console.log(alldecrypted); // [ 'Hello World', 'Gdkkn Vnqkc', ... ]

Available Functions and Classes

  • Caesar Cipher

Sponsors & Backers

Diamond Sponsor Platinum Sponsor Gold Sponsor Silver Sponsor Backer Supporter

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

Diamond Sponsor

Diamond Sponsor

Platinum Sponsors

Platinum Sponsor

Gold Sponsors

Gold Sponsor

Silver Sponsors

Silver Sponsor

Backers

Backer

Supporters

Supporter

Keywords

ilihub

FAQs

Package last updated on 29 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