blake2-rfc
blake2-rfc copied to clipboard
A pure Rust implementation of BLAKE2 based on RFC 7693.
Hey! I have updated arrayvec version to 0.7 in the file. Please review my PR. If any changes still needed please feel free to inform me. I will do that....
fixes #12
When I use this crate within a sgx enclave (https://github.com/baidu/rust-sgx-sdk) I get: ``` error: duplicate lang item in crate `std`: `f32_runtime`. | = note: first defined in crate `sgx_tstd`. error:...
This adds support for the salt and personalization features described in the [BLAKE2 paper](https://blake2.net/blake2.pdf) and [reference implementation](https://github.com/BLAKE2/BLAKE2). They're pretty much just a set of bytes XOR'd into the parameter block....
I see that your crate uses macros. Is it possible to provide a Digest trait? It doesn't have to match the rust-crypto Digest trait.