#crypto #blake2 #hash #digest #blakeout

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

#313 in Cryptography

Download history 39/week @ 2021-06-29 34/week @ 2021-07-06 20/week @ 2021-07-13 29/week @ 2021-07-20 23/week @ 2021-07-27 7/week @ 2021-08-03 23/week @ 2021-08-10 16/week @ 2021-08-17 53/week @ 2021-08-24 28/week @ 2021-08-31 55/week @ 2021-09-07 58/week @ 2021-09-14 58/week @ 2021-09-21 29/week @ 2021-09-28 33/week @ 2021-10-05 13/week @ 2021-10-12

482 downloads per month

MIT/Apache

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

~345KB