Anole Encryption Library
I’ve spent the past few years learning about cryptography. I wanted to put that knowledge to the test by creating a secure, real world cryptosystem with the goal of replacing my personal use of PGP.
Anole is an easy to use encryption library featuring strong, authenticated encryption using modern, well-known algorithms from the Bouncy Castle library.
AES-256-CTR + HMAC-SHA256 is used for authenticated encryption, PBKDF2-HMAC-SHA512 for password based key derivation, X25519 for key agreement, and Ed25519 for signatures. More details about the encryption algoirthms used can be found on the project page.
Here are some things that anole can do
- Use your friend’s public key to send them an encrypted file.
- Encrypt a file with a password.
- Sign a file so that people can verify that it hasn’t been modified.
Hopefully you find it useful. The project includes a blank cli module with some notes on how anole can be used to create a PGP-like application. Eventually, I would like to expand on the command line interface for anole. I also plan on integrating anole’s functionality into some other, larger applications.