#sha-256 #hashing #hahing

rsha

A sha256 hahing library implementation in rust

2 releases

new 0.1.1 Nov 21, 2024
0.1.0 Nov 21, 2024

#1830 in Cryptography

Download history 113/week @ 2024-11-16

113 downloads per month

MIT license

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

No runtime deps