rust-crypto icon indicating copy to clipboard operation
rust-crypto copied to clipboard

shake_128.result_str();//No output

Open zwq1792966796 opened this issue 3 years ago • 1 comments

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()

zwq1792966796 avatar Nov 05 '20 09:11 zwq1792966796

This crate is unmaintained and it's recommended to use modern alternatives instead. One such alternative is the sha3 crate from RustCrypto.

newpavlov avatar Nov 05 '20 10:11 newpavlov