#hash #blake2 #crypto

blake2b-rs

Rust bindings for the official Blake2b C implementation

6 releases

0.2.0 Jul 24, 2020
0.1.5 Sep 10, 2019
0.1.4 Jun 3, 2019
0.1.3 May 31, 2019
0.1.2 Mar 12, 2019

#163 in Cryptography

Download history 766/week @ 2021-06-27 1034/week @ 2021-07-04 1215/week @ 2021-07-11 1935/week @ 2021-07-18 1056/week @ 2021-07-25 1049/week @ 2021-08-01 1073/week @ 2021-08-08 2872/week @ 2021-08-15 4417/week @ 2021-08-22 3173/week @ 2021-08-29 3936/week @ 2021-09-05 4648/week @ 2021-09-12 3519/week @ 2021-09-19 4364/week @ 2021-09-26 3180/week @ 2021-10-03 3909/week @ 2021-10-10

4,374 downloads per month
Used in 73 crates (14 directly)

MIT license

48KB
1.5K SLoC

Rust 753 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

Dependencies

~150KB