hashjunkie 0.6.0

Fast multi-algorithm hashing library with file-sharing and cloud hash support
Documentation
1
2
3
4
5
6
7
8
9
use hashjunkie::{Algorithm, hash_bytes};

fn main() {
    let result = hash_bytes(b"hello", &[Algorithm::Blake3, Algorithm::Sha256]);

    for (algorithm, digest) in &result {
        println!("{algorithm}: {}", digest.standard());
    }
}