saadfarrukh191 / sovereign_hash.rsRust
Content integrity digest helper for git-pub.dev
pub fn digest(data: &[u8]) -> String {
blake3::hash(data).to_hex().to_string()
}Share small pieces of code and configuration instantly.
Content integrity digest helper for git-pub.dev
pub fn digest(data: &[u8]) -> String {
blake3::hash(data).to_hex().to_string()
}