{"id":26399203,"url":"https://github.com/irfanshadikrishad/cipher","last_synced_at":"2026-02-19T23:11:17.668Z","repository":{"id":280760482,"uuid":"940851657","full_name":"irfanshadikrishad/cipher","owner":"irfanshadikrishad","description":"A versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications.","archived":false,"fork":false,"pushed_at":"2026-02-16T09:58:21.000Z","size":621,"stargazers_count":6,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-16T16:24:26.373Z","etag":null,"topics":["cipher","cryptography","npm-package","npmjs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@irfanshadikrishad/cipher","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irfanshadikrishad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-28T23:08:37.000Z","updated_at":"2026-02-16T09:57:23.000Z","dependencies_parsed_at":"2025-07-07T14:35:58.040Z","dependency_job_id":"e63a376a-bb29-4fa5-b77b-b1b8f7000647","html_url":"https://github.com/irfanshadikrishad/cipher","commit_stats":null,"previous_names":["irfanshadikrishad/cipher"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/irfanshadikrishad/cipher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfanshadikrishad%2Fcipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfanshadikrishad%2Fcipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfanshadikrishad%2Fcipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfanshadikrishad%2Fcipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irfanshadikrishad","download_url":"https://codeload.github.com/irfanshadikrishad/cipher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfanshadikrishad%2Fcipher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29636087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cipher","cryptography","npm-package","npmjs"],"created_at":"2025-03-17T13:18:57.555Z","updated_at":"2026-02-19T23:11:17.662Z","avatar_url":"https://github.com/irfanshadikrishad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### @irfanshadikrishad/cipher\n\nA versatile and secure cryptographic library for implementing various cipher algorithms in Node.js applications with zero/0 dependencies.\n\n![NPM Version](https://img.shields.io/npm/v/%40irfanshadikrishad%2Fcipher?style=for-the-badge\u0026labelColor=141b23\u0026color=%2385c1dc)\n![NPM Downloads](https://img.shields.io/npm/dw/%40irfanshadikrishad%2Fcipher?style=for-the-badge\u0026labelColor=141b23\u0026color=%2385c1dc)\n![NPM Unpacked Size](https://img.shields.io/npm/unpacked-size/%40irfanshadikrishad%2Fcipher?style=for-the-badge\u0026labelColor=141b23\u0026color=%2385c1dc)\n\n#### 🚀 Installation\n\nInstall the package via npm:\n\n```bash\nnpm install @irfanshadikrishad/cipher\n```\n\nyarn:\n\n```bash\nyarn add @irfanshadikrishad/cipher\n```\n\nbun:\n\n```bash\nbun add @irfanshadikrishad/cipher\n```\n\n#### Usage\n\nImport the library and use a cipher algorithm:\n\n```ts\nimport { Cipher } from '@irfanshadikrishad/cipher'\n\n// Create a Caesar Cipher instance with a shift of 6\nconst caesar = new Cipher.Caesar(6)\n\nconsole.log(caesar.encrypt('hello world')) // Output: \"nkrru cuxrj\"\n```\n\n#### Supported Ciphers\n\nThis library provides implementations of various classical and modern ciphers:\n\n| Cipher                                              | Type                                     | Key required? | Strength  | Used In/Notes                                         |\n| --------------------------------------------------- | ---------------------------------------- | ------------- | --------- | ----------------------------------------------------- |\n| [Caesar Cipher](/docs/en/ciphers/CAESAR.md)         | Substitution                             | No            | Low       | Ancient Rome, Simple Obsfuscation                     |\n| [Atbash Cipher](/docs/en/ciphers/ATBASH.md)         | Substitution                             | No            | Low       | Hebrew Cipher, Basic Encryption                       |\n| [Playfair Cipher](/docs/en/ciphers/PLAYFAIR.md)     | Diagraph-based                           | Yes           | Medium    | Used in WWI \u0026 WWII                                    |\n| [Vigenère Cipher](/docs/en/ciphers/VIGENERE.md)     | Polyalphabetic                           | Yes           | Medium    | Used in Historical Documents                          |\n| [The Alphabet Cipher](/docs/en/ciphers/ALPHABET.md) | Polyalphabetic                           | Yes           | Medium    | Inspired by Vigenere, Cryptography Puzzles            |\n| [Salsa20](/docs/en/ciphers/SALSA20.md)              | Stream Cipher                            | Yes           | High      | Modern Cryptography, Secure Communications            |\n| [ADFGVX](/docs/en/ciphers/ADFGVX.md)                | Polybius Square + Columnar Transposition | Yes           | Medium    | Used in WWI, Known for 6x6 polybius square            |\n| [AES](/docs/en/ciphers/AES.md)                      | Symmetric Block Cipher                   | Yes           | High      | Also known as, Rijndael                               |\n| [DES](/docs/en/ciphers/DES.md)                      | Symmetric Block Cipher                   | Yes           | Medium    | 56-bit key, Used in legacy systems, replaced by AES   |\n| [ECC](/docs/en/ciphers/ECC.md)                      | Asymmetric (Public-Key Cryptography)     | Yes           | Very High | Used in modern systems like Bitcoin, TLS, JWT, etc.   |\n| [ROT13](/docs/en/ciphers/ROT13.md)                  | Substitution (Caesar variant)            | No            | Very Low  | Simple text obfuscation, not secure                   |\n| [Nihilist](/docs/en/ciphers/Nihilist.md)            | Polybius Square + Addition               | Yes           | Medium    | Used by Russian Nihilists, Polybius + additive cipher |\n\nMore ciphers coming soon...\n\n#### Contribution\n\nTo contribute on the codebase, follow [contribution guideline](/docs/en/CONTRIBUTING.md).\n\n#### Support\n\nIf you find this library useful, consider giving it a ⭐ on GitHub!\n\nThanks for visiting! (\u003e'-'\u003c)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfanshadikrishad%2Fcipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firfanshadikrishad%2Fcipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfanshadikrishad%2Fcipher/lists"}