LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
At the moment, only ecc and eax are exposed by these bindings, it should be easy to add more features.
I do not plan to add more functionality myself because I do not need it, pull requests or people, who are willing to overtake this project and expand the crate, are welcome though.
Add the following to your
[dependencies] tomcrypt = "0.1"
Authenticated encryption mode.
A private or public elliptic curve key.
A random number generator.
Init the tomcrypt library.
Register the rijndael cipher (aes).
Register the system pseudo random number generator.
Get the rijndael cipher (aes), it has to be registered first using
Get the sprng, it has to be registered first using