A series of fixed hash types.
Constructors
This crate provides a series of macros that used to construct fixed hashes in compile time.
The input is a hexadecimal string literal with 0x
prefix.
Completed strings or trimmed strings both are allowed.
And you can use any number of _
in the string literal to separate it for more readable.
Examples
use ;
const H128_VAL: H128 = h128!;