Expand description
A light-weight Blockchain library using BLAKE3 for hashing.
§Usage:
use hyperhasher::{
HashString,
Block,
Chain,
IBD
};
fn main(){
//Craeting A New Chain
let mut chain = Chain::new(IBD);
let block = Block::new("test", &chain);
chain.push(block);
println!("{}", chain.hash);
}
Also see RustCrypto/hashes readme.
Re-exports§
pub use blake3;