#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

#12 in #blake2

Download history 8/week @ 2024-04-08 5/week @ 2024-04-15 13/week @ 2024-04-22 8/week @ 2024-04-29 7/week @ 2024-05-13 17/week @ 2024-05-27 24/week @ 2024-06-03 22/week @ 2024-06-10 17/week @ 2024-06-17 23/week @ 2024-06-24 22/week @ 2024-07-01 127/week @ 2024-07-08 13/week @ 2024-07-15 18/week @ 2024-07-22

182 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

~425KB