#sha-256 #hashing #hahing

rsha

A sha256 hahing library implementation in rust

2 releases

0.1.1 Nov 21, 2024
0.1.0 Nov 21, 2024

#1618 in Cryptography

Download history 226/week @ 2024-11-18 11/week @ 2024-11-25 6/week @ 2024-12-02 24/week @ 2024-12-09

267 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