#hash #blake2 #crypto

blake2b-rs

Rust bindings for the official Blake2b C implementation

5 releases

✓ Uses Rust 2018 edition

new 0.1.5 Sep 10, 2019
0.1.4 Jun 3, 2019
0.1.3 May 31, 2019
0.1.2 Mar 12, 2019

#100 in Cryptography

Download history 207/week @ 2019-05-28 660/week @ 2019-06-04 622/week @ 2019-06-11 669/week @ 2019-06-18 546/week @ 2019-06-25 535/week @ 2019-07-02 478/week @ 2019-07-09 723/week @ 2019-07-16 468/week @ 2019-07-23 341/week @ 2019-07-30 1021/week @ 2019-08-06 648/week @ 2019-08-13 1342/week @ 2019-08-20 911/week @ 2019-08-27 1379/week @ 2019-09-03

3,168 downloads per month
Used in 6 crates

MIT license

48KB
1.5K SLoC

Rust 747 SLoC // 0.0% comments C 617 SLoC // 0.1% comments

Build Status WIN Build Status Crate License

blake2b-rs

The blake2b-rs crate is a safe Rust binding to blake2.

Building from Source

git clone https://github.com/nervosnetwork/blake2b-rs.git
cd blake2b-rs
cargo build

Features

  • SIMD optimization .
  • Personal and Salt support.

License

Licensed under the LICENSE-MIT, as described in the LICENSE file.

Third-party software

This crate includes copies and modifications of software developed by third parties:

  • BLAKE2 is based on BLAKE2, triple-licensed under the CC0, the OpenSSL Licence, or the Apache Public License 2.0. Choosing the Apache Public License 2.0.
  • Test Vectors is taken from emilbayes/blake2b, licensed under the ISC

No runtime deps

~120KB