dumb-crypto
This library implements following cryptographic routines in the dumbest and the most obvious way:
- sha256
- hmac-sha256
- pbkdf2-sha256
- salsa20
- scrypt
Why?
Normally, one would find a highly optimized code implementing those. However, verifying such code is a non-trivial task. All routines (except for scrypt itself) are pre-requisites for scrypt, and a provided just for convenience.
Quick example
extern crate dumb_crypto;
use Scrypt;
let scrypt = new;
let mut out: = ;
scrypt.derive;
assert_eq!;
Using dumb-crypto
See documentation for details.