# k-anon-hash-rs | Coverage | Pipeline | | ------ | ------ | | [![coverage report](https://gitlab.com/famedly/company/backend/libraries/k-anon-hash/badges/main/coverage.svg)](https://gitlab.com/famedly/company/backend/libraries/k-anon-hash/-/commits/main) | [![pipeline status](https://gitlab.com/famedly/company/backend/libraries/k-anon-hash/badges/main/pipeline.svg)](https://gitlab.com/famedly/company/backend/libraries/k-anon-hash/-/commits/main) | Provides a wrapper around the `sha2` crate for K-Anonymous SHA256. Usage: ```rust let data = String::from("remember to drink water uwu"); let hash = KAnonHash::calculate_string_hash(&data); println!("K-Anonymous hash: {}", hash.k_anon()); ```