#hash #blake2 #crypto

blake2b-rs

Rust bindings for the official Blake2b C implementation

5 releases

✓ Uses Rust 2018 edition

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

#140 in Cryptography

Download history 1072/week @ 2019-10-07 967/week @ 2019-10-14 933/week @ 2019-10-21 925/week @ 2019-10-28 884/week @ 2019-11-04 987/week @ 2019-11-11 348/week @ 2019-11-18 422/week @ 2019-11-25 445/week @ 2019-12-02 1008/week @ 2019-12-09 982/week @ 2019-12-16 791/week @ 2019-12-23 693/week @ 2019-12-30 490/week @ 2020-01-06 256/week @ 2020-01-13

3,431 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

~125KB