use crypto::Sha3; fn main() { let mut hash = Sha3::sha3_256(); hash.input_str("hello"); let res = hash.result_str(); println!("{}", res); }