#blake2 #hash

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

#474 in Cryptography

Download history 4719/week @ 2025-05-20 3813/week @ 2025-05-27 5223/week @ 2025-06-03 6097/week @ 2025-06-10 3929/week @ 2025-06-17 4422/week @ 2025-06-24 2541/week @ 2025-07-01 2474/week @ 2025-07-08 3013/week @ 2025-07-15 3405/week @ 2025-07-22 2201/week @ 2025-07-29 1963/week @ 2025-08-05 2464/week @ 2025-08-12 2588/week @ 2025-08-19 4759/week @ 2025-08-26 2684/week @ 2025-09-02

12,826 downloads per month
Used in 111 crates (18 directly)

MIT license

49KB
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

~240KB