macro_toolset

Macro sha256

Source
macro_rules! sha256 {
    ($($tt:tt)*) => { ... };
}
Expand description

Calc SHA256 hash.

You may add sha2 = "0.10" to your Cargo.toml.

Just a shortcut for calc_hash!(SHA256: ...), see [calc_hash] for more details.


// General usage. Multiple params supported.
sha256!("hello", "world")