{"id":16475299,"url":"https://github.com/avinal/blowfish","last_synced_at":"2025-08-26T08:12:49.116Z","repository":{"id":115432200,"uuid":"339119836","full_name":"avinal/blowfish","owner":"avinal","description":"Blowfish and Blowfish 2 Encryption Algorithm Implementation in CPP.","archived":false,"fork":false,"pushed_at":"2024-10-15T14:06:48.000Z","size":72,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T11:55:01.073Z","etag":null,"topics":["blowfish","blowfish-128","blowfish-64","blowfish-algorithm","blowfish2","cpp","cpp11","cpp14","encryption","encryption-decryption","library"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avinal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-15T15:25:49.000Z","updated_at":"2024-10-29T11:07:57.000Z","dependencies_parsed_at":"2024-10-28T16:10:14.273Z","dependency_job_id":null,"html_url":"https://github.com/avinal/blowfish","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avinal/blowfish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2Fblowfish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2Fblowfish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2Fblowfish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2Fblowfish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avinal","download_url":"https://codeload.github.com/avinal/blowfish/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2Fblowfish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192669,"owners_count":24889452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blowfish","blowfish-128","blowfish-64","blowfish-algorithm","blowfish2","cpp","cpp11","cpp14","encryption","encryption-decryption","library"],"created_at":"2024-10-11T12:37:37.258Z","updated_at":"2025-08-26T08:12:49.083Z","avatar_url":"https://github.com/avinal.png","language":"C++","readme":"# Blowfish and Blowfish2 Encryption Algorithm\n\n\u003cp align=center\u003e\u003ca href=\"https://github.com/avinal/blowfish/actions\"\u003e\u003cimg alt=\"build\" src=\"https://github.com/avinal/blowfish/workflows/build/badge.svg?branch=main\"\u003e\u003c/a\u003e\u003ca href=\"https://github.com/avinal/blowfish/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/avinal/blowfish\" alt=\"license\"\u003e\u003c/a\u003e\u003c/p\u003e\n\nBlowfish is a symmetric block cipher that can be used as a drop-in replacement for DES or IDEA. It takes a variable-length key, from 32 bits to 448 bits, making it ideal for both domestic and exportable use. Blowfish was designed in 1993 by Bruce Schneier as a fast, free alternative to existing encryption algorithms. Since then it has been analyzed considerably, and it is slowly gaining acceptance as a strong encryption algorithm. Blowfish is unpatented and license-free, and is available free for all uses.\n\nBlowfish 2 was released in 2005. It has exactly the same design but has twice as many S tables and uses 64-bit integers instead of 32-bit integers. It no longer works on 64-bit blocks but on 128-bit blocks like AES. 128-bit block, 64 rounds, key up to 4224 bits.\n\n## About this project\n\nThis is a C++ implementation of the encryption algorithm.\n\n## How to use this in your project?\n\n1. You may fork it and use it like any other source file in your project. You only need [blowfish.hpp](include/blowfish/blowfish.hpp) and [blowfish.cpp](src/blowfish.cpp) files. Just modify the header as per your convienence. \n2. If you are using CMake, the work is lot easier. You can add this as a git submodule. It isolates your project from this dependency.\n\n  ```bash\n    # In your project root type these commands\n    git submodule add https://github.com/avinal/blowfish\n    # considering this addition is your only change\n    git commit -m \"blowfish submodule added\"\n    git push origin main\n ```\n\n Add this to your CMakeLists.txt as well.\n\n## References\n\n- [Description of a new variable-length key, 64-bit block cipher (Blowfish)](https://link.springer.com/chapter/10.1007/3-540-58108-1_24)\n- [The Blowfish Encryption Algorithm](https://www.schneier.com/academic/blowfish/)\n- [The Blowfish 2 C Implementation](https://github.com/erwanmilon/blowfish2/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinal%2Fblowfish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinal%2Fblowfish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinal%2Fblowfish/lists"}