#digest #hash #crypto #blake2

blakeout

Memory hard hashing algorithm based on Blake2s

3 releases (breaking)

0.3.0 Mar 21, 2021
0.2.0 Mar 21, 2021
0.1.0 Mar 9, 2021

#15 in #blake2

Download history 26/week @ 2024-11-03 34/week @ 2024-11-10 52/week @ 2024-11-17 30/week @ 2024-11-24 24/week @ 2024-12-01 34/week @ 2024-12-08 25/week @ 2024-12-15 18/week @ 2024-12-22 7/week @ 2024-12-29 17/week @ 2025-01-05 21/week @ 2025-01-12 20/week @ 2025-01-19 15/week @ 2025-01-26 30/week @ 2025-02-02 14/week @ 2025-02-09 12/week @ 2025-02-16

73 downloads per month

MIT/Apache

7KB
99 lines

Blakeout

Memory hard hashing algorithm based on Blake2s

Usage

Blakeout can be used in the following way:

use crypto::digest::Digest;
use blakeout::Blakeout;

// create a Blakeout object, it will hash your bytes for you
let mut hasher = Blakeout::default();

// write input message
hasher.input(b"hello world");

// read hash digest and consume hasher
let res = hasher.result_str();
assert_eq!(res, "6cc4bddb52416711be65e4b0201106fda4ceb0de48dfdce7e3a136e490d8586f");

lib.rs:

An implementation of the Blakeout hash function.

Usage

Blakeout can be used in the following way:

use crypto::digest::Digest;
use blakeout::Blakeout;

// create a Blakeout object, it will hash your bytes for you
let mut hasher = Blakeout::default();

// write input message
hasher.update(b"hello world");

// read hash digest and consume hasher
let res = hasher.result_str();
assert_eq!(res, "6cc4bddb52416711be65e4b0201106fda4ceb0de48dfdce7e3a136e490d8586f");

Dependencies

~685KB
~17K SLoC