@irfanshadikrishad/cipher

A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications.

https://github.com/irfanshadikrishad/cipher

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary

Keywords

cipher cryptography npm-package npmjs

Keywords from Contributors

interactive mesh interpretability sequences generic projection optim hacking network-simulation
Last synced: 6 months ago · JSON representation ·

Repository

A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications.

Basic Info
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 16
Topics
cipher cryptography npm-package npmjs
Created 12 months ago · Last pushed 6 months ago
Metadata Files
Readme License Citation Codeowners

README.md

@irfanshadikrishad/cipher

A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications with zero/0 dependencies.

NPM Version NPM Downloads NPM Unpacked Size

🚀 Installation

Install the package via npm:

bash npm install @irfanshadikrishad/cipher

yarn:

bash yarn add @irfanshadikrishad/cipher

bun:

bash bun add @irfanshadikrishad/cipher

📖 Usage

Import the library and use a cipher algorithm:

```ts import { Cipher } from '@irfanshadikrishad/cipher'

// Create a Caesar Cipher instance with a shift of 6 const caesar = new Cipher.Caesar(6)

console.log(caesar.encrypt('hello world')) // Output: "nkrru cuxrj" ```

🔐 Supported Ciphers

This library provides implementations of various classical and modern ciphers:

| Cipher | Type | Key required? | Strength | Used In/Notes | | --------------------------------------------------- | ---------------------------------------- | ------------- | --------- | --------------------------------------------------- | | Caesar Cipher | Substitution | No | Low | Ancient Rome, Simple Obsfuscation | | Atbash Cipher | Substitution | No | Low | Hebrew Cipher, Basic Encryption | | Playfair Cipher | Diagraph-based | Yes | Medium | Used in WWI & WWII | | Vigenère Cipher | Polyalphabetic | Yes | Medium | Used in Historical Documents | | The Alphabet Cipher | Polyalphabetic | Yes | Medium | Inspired by Vigenere, Cryptography Puzzles | | Salsa20 | Stream Cipher | Yes | High | Modern Cryptography, Secure Communications | | ADFGVX | Polybius Square + Columnar Transposition | Yes | Medium | Used in WWI, Known for 6x6 polybius square | | AES | Symmetric Block Cipher | Yes | High | Also known as, Rijndael | | DES | Symmetric Block Cipher | Yes | Medium | 56-bit key, Used in legacy systems, replaced by AES | | ECC | Asymmetric (Public-Key Cryptography) | Yes | Very High | Used in modern systems like Bitcoin, TLS, JWT, etc. |

More ciphers coming soon...

🍀 Contribution

To contribute on the codebase, follow contribution guideline.

❤️ Support

If you find this library useful, consider giving it a ⭐ on GitHub!

Thanks for visiting! (>'-'<)

Owner

  • Name: Irfan Shadik Rishad
  • Login: irfanshadikrishad
  • Kind: user
  • Location: Sylhet, Bangladesh

A computer programmer who loves to build things. Nowadays mostly learning MERN stack development.

Citation (CITATION.cff)

cff-version: 1.2.0
message: 'If you use this software, please cite it as below.'
title: '@irfanshadikrishad/cipher'
authors:
  - name: 'Irfan Shadik Rishad'
    orcid: '0009-0001-6745-5291'
date-released: '2025-02-28'
repository-code: 'https://github.com/irfanshadikrishad/cipher'

GitHub Events

Total
  • Release event: 18
  • Watch event: 1
  • Delete event: 100
  • Issue comment event: 93
  • Public event: 1
  • Push event: 89
  • Pull request review event: 7
  • Pull request event: 146
  • Create event: 92
Last Year
  • Release event: 18
  • Watch event: 1
  • Delete event: 100
  • Issue comment event: 93
  • Public event: 1
  • Push event: 89
  • Pull request review event: 7
  • Pull request event: 146
  • Create event: 92

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 12
  • Total Committers: 2
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.25
Past Year
  • Commits: 12
  • Committers: 2
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.25
Top Committers
Name Email Commits
Irfan Shadik Rishad i****d@g****m 9
dependabot[bot] 4****] 3

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 182
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 days
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.99
  • Merged pull requests: 65
  • Bot issues: 0
  • Bot pull requests: 151
Past Year
  • Issues: 0
  • Pull requests: 182
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 days
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.99
  • Merged pull requests: 65
  • Bot issues: 0
  • Bot pull requests: 151
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (151)
  • irfanshadikrishad (31)
Top Labels
Issue Labels
Pull Request Labels
javascript (151) dependencies (151) feature (2)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 71 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 17
  • Total maintainers: 1
npmjs.org: @irfanshadikrishad/cipher

A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications with zero/0 dependencies.

  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 71 Last month
Rankings
Dependent repos count: 24.9%
Average: 30.5%
Dependent packages count: 36.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/linter.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/npm-publish.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
.github/workflows/prettify.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
package-lock.json npm
  • 119 dependencies
package.json npm
  • @eslint/js ^9.21.0 development
  • @typescript-eslint/eslint-plugin ^8.26.0 development
  • @typescript-eslint/parser ^8.26.0 development
  • eslint ^9.21.0 development
  • globals ^16.0.0 development
  • husky ^9.1.7 development
  • prettier ^3.5.3 development
  • typescript ^5.8.2 development
  • typescript-eslint ^8.26.0 development
.github/workflows/unit-testing.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-node v3 composite