#blake2 #hash #safe-bindings #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

#337 in Cryptography

Download history 2030/week @ 2024-07-26 1704/week @ 2024-08-02 2607/week @ 2024-08-09 1735/week @ 2024-08-16 2164/week @ 2024-08-23 2406/week @ 2024-08-30 1548/week @ 2024-09-06 1814/week @ 2024-09-13 2032/week @ 2024-09-20 1130/week @ 2024-09-27 1124/week @ 2024-10-04 1534/week @ 2024-10-11 2890/week @ 2024-10-18 1904/week @ 2024-10-25 1549/week @ 2024-11-01 1286/week @ 2024-11-08

7,924 downloads per month
Used in 107 crates (16 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

~7–290KB