Crates.io | blakeout |
lib.rs | blakeout |
version | 0.3.0 |
source | src |
created_at | 2021-03-09 17:39:29.90117 |
updated_at | 2021-03-21 22:12:11.606592 |
description | Memory hard hashing algorithm based on Blake2s |
homepage | |
repository | https://github.com/Revertron/Blakeout |
max_upload_size | |
id | 366428 |
size | 9,517 |
Memory hard hashing algorithm based on Blake2s
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");