Crate ion_hash[−][src]
Implements the Ion Hash specification
Examples
use ion_rs::value::loader::{self, Loader}; use ion_rs::result::IonResult; let loader = loader::loader(); let elem = loader.iterate_over(b"\"hello world\"")?.next().unwrap()?; let digest = ion_hash::sha256(&elem); println!("{:?}", digest);
Structs
IonHasher | Provides Ion hash over arbitrary |
Functions
sha256 | Utility to hash an |