@irfanshadikrishad/cipher
A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications.
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
Keywords from Contributors
Repository
A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications.
Basic Info
- Host: GitHub
- Owner: irfanshadikrishad
- License: mpl-2.0
- Language: TypeScript
- Default Branch: master
- Homepage: https://www.npmjs.com/package/@irfanshadikrishad/cipher
- Size: 222 KB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 16
Topics
Metadata Files
README.md
@irfanshadikrishad/cipher
A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications with zero/0 dependencies.
🚀 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
- Website: irfanshadikrishad.github.io
- Twitter: irfanshadikoffi
- Repositories: 5
- Profile: https://github.com/irfanshadikrishad
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
Top Committers
| Name | 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
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.
- Homepage: https://github.com/irfanshadikrishad/cipher#readme
- License: MPL-2.0
-
Latest release: 1.3.2
published 6 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/checkout v4 composite
- actions/setup-node v4 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- 119 dependencies
- @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
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite