#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

#14 in #blake2

Download history 18/week @ 2024-07-22 30/week @ 2024-07-29 27/week @ 2024-08-05 15/week @ 2024-08-12 19/week @ 2024-08-19 12/week @ 2024-08-26 7/week @ 2024-09-02 19/week @ 2024-09-09 22/week @ 2024-09-16 44/week @ 2024-09-23 33/week @ 2024-09-30 30/week @ 2024-10-07 26/week @ 2024-10-14 32/week @ 2024-10-21 16/week @ 2024-10-28 26/week @ 2024-11-04

103 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