rsha 0.1.2

A hashing library implementation in rust
Documentation
1
2
3
4
5
6
7
use rsha::sha256;

fn main() {
    let str = "hello world";
    println!("hash of {str} -> {:x?}", sha256::hash_arr(str));
    println!("Hash of {str} -> {}", sha256::hash(str));
}