| Crates.io | k-anon-hash |
| lib.rs | k-anon-hash |
| version | 0.1.3 |
| created_at | 2021-02-24 14:44:47.931622+00 |
| updated_at | 2021-08-16 13:25:11.851548+00 |
| description | A simple wrapper around the `sha2` crate for K-Anonymous SHA256 |
| homepage | https://famedly.com/ |
| repository | https://gitlab.com/famedly/libraries/k-anon-hash |
| max_upload_size | |
| id | 359997 |
| size | 40,550 |
| Coverage | Pipeline |
|---|---|
Provides a wrapper around the sha2 crate for K-Anonymous SHA256.
Usage:
let data = String::from("remember to drink water uwu");
let hash = KAnonHash::calculate_string_hash(&data);
println!("K-Anonymous hash: {}", hash.k_anon());