Open zwq1792966796 opened 4 years ago
extern crate crypto; use crypto::digest::Digest; use crypto::sha3::Sha3; fn main() { let mut shake_128 = Sha3::shake_128(); shake_128.input_str("123"); println!("shake_128 {}",shake_128.result_str()); } //But It's noting
Take an example for Sha3::shake_128()
This crate is unmaintained and it's recommended to use modern alternatives instead. One such alternative is the sha3 crate from RustCrypto.
sha3
extern crate crypto; use crypto::digest::Digest; use crypto::sha3::Sha3; fn main() { let mut shake_128 = Sha3::shake_128(); shake_128.input_str("123"); println!("shake_128 {}",shake_128.result_str()); } //But It's noting
Take an example for Sha3::shake_128()