mirror of
https://github.com/avinal/blowfish.git
synced 2026-01-09 22:38:33 +05:30
b6931e3196a4c5dd6e28cba7530791dc0a490105
Blowfish Encryption Algorithm
Blowfish 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.
About this project
This is a C++ implementation of the encryption algorithm.
How to use this in your project?
- You may fork it and use it like any other source file in your project. You only need blowfish.hpp and blowfish.cpp files. Just modify the header as per your convienence.
- 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.
# In your project root type these commands
git submodule add https://github.com/avinal/blowfish
# considering this addition is your only change
git commit -m "blowfish submodule added"
git push origin main
Add this to your CMakeLists.txt as well.
References
Description
Blowfish and Blowfish 2 Encryption Algorithm Implementation in CPP.
blowfishblowfish-128blowfish-64blowfish-algorithmblowfish2cppcpp11cpp14encryptionencryption-decryptionlibrary
Readme
MIT
196 KiB
Languages
C++
97.4%
CMake
2.4%
Shell
0.2%