Function anchor_syn::hash::hash

source ·
pub fn hash(val: &[u8]) -> Hash
Available on crate feature hash only.
Expand description

Return a Sha256 hash for the given data.