rust_utilities-0.2.0 has been yanked.
Utilities for Rust
Importing
The driver is available on crates.io. To use the driver in
your application, simply add it to your project's Cargo.toml
.
[]
= "0.2.0"
How to use?
Compute Sha hash
Add sha
features
[]
= "0.2.0"
= ["sha"]
Quick and easy sha1, sha256 and sha512 hash calculation.
use ;
let text = "test" // &str
let hash = encode; // String
println!; // output: `a94a8fe5ccb19ba61c4c0873d391e987982fbbd3`