DaGenix / rust-crypto

A (mostly) pure-Rust implementation of various cryptographic algorithms.
Apache License 2.0
1.39k stars 295 forks source link

blake2s: add function #358

Closed zx2c4 closed 8 years ago

zx2c4 commented 8 years ago

This tries to be as similar as possible to the blake2b implementation. If you diff the two, you'll see just how little needed to be changed. The test vectors come from the .txt in the reference implementation or are generated with the reference implementation.

Fixes: #351 Signed-off-by: Jason A. Donenfeld Jason@zx2c4.com

DaGenix commented 8 years ago

Very cool! Thanks!

zx2c4 commented 8 years ago

Could you tag a release ASAP? There are things downstream that use this functionality.