Function ion_hash::sha256[][src]

pub fn sha256<E: Element + ?Sized>(elem: &E) -> IonResult<Output<Sha256>>
Expand description

Utility to hash an Element using SHA-256 as the hash function.