Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
2
Task/MD5/Rust/md5-1.rust
Normal file
2
Task/MD5/Rust/md5-1.rust
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[dependencies]
|
||||
rust-crypto = "0.2"
|
||||
10
Task/MD5/Rust/md5-2.rust
Normal file
10
Task/MD5/Rust/md5-2.rust
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extern crate crypto;
|
||||
|
||||
use crypto::digest::Digest;
|
||||
use crypto::md5::Md5;
|
||||
|
||||
fn main() {
|
||||
let mut sh = Md5::new();
|
||||
sh.input_str("The quick brown fox jumped over the lazy dog's back");
|
||||
println!("{}", sh.result_str());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue