DaGenix / rust-crypto

A (mostly) pure-Rust implementation of various cryptographic algorithms.
Apache License 2.0
1.38k stars 296 forks source link

shake_128.result_str();//No output #468

Open zwq1792966796 opened 3 years ago

zwq1792966796 commented 3 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()

newpavlov commented 3 years ago

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