Cryptographic Algorithms is a Rust repository focused on implementing cryptographic algorithms from first principles.
Using minimal standard library methods to reveal the core logic and mathematics behind each function.
Make sure Rust and Cargo are installed.
git clone https://github.com/Lmpkessels/cryptographic-algos.git
cd cryptographic-algos
cargo testcargo test will run all unit tests across SHA-256, HMAC, RIPEMD-160, and all other Cryptographic Algorithms.
- ✅ Little endian padding/parsing
- ✅ Big endian padding/parsing
- ✅ SHA-1
- ✅ SHA-256
- ✅ SHA-512
- ✅ HMAC
- ✅ RIPEMD-160
- ✅ MD4
- ✅ MD5
- ✅ SHA-3 Keccak
- ⏸️ AES
Pull requests are welcome. For major changes, please open an issue first to discuss what you’d like to improve or add.
This project is currently in maintenance mode, but I may expand on AES and add new algorithms in the future.
Licensed under MIT License.
© 2025 Luuk Kessels
- 📧 l@lmpkessels.com
- 🐦 X/Twitter
- 👨💻 GitHub
- 🛠️ Open an issue