2 releases
new 0.1.1 | Nov 21, 2024 |
---|---|
0.1.0 | Nov 21, 2024 |
#1830 in Cryptography
113 downloads per month
7KB
101 lines
rsha
A simple to use hashing library in rust
install
cargo add rsha
Examples
use rsha::sha256;
fn main(){
let str = "शा तुम कितनी सुन्दर हो";
let hash = sha256::hash(str);
println("{str} -> {hash}");
}
lib.rs
:
A simple, easy to use library for hashing using sha256