hyperhasher 0.1.2

A VERY light blockchain library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//AUTHOR: "AtomicGamer9523"@github.com
//LICENSE: "MIT"
//FORMAT: "RUST"
#[macro_export]
macro_rules! hash {
    ( $e: expr ) => {{
        use blake3::Hasher;
        let mut hasher = Hasher::new();
        hasher.update(
            format!(
                "{}",
                $e
            )
            .as_bytes()
        );
        crate::HashString::from(hasher.finalize())
    }};
}