Skip to main content

Code snippets

Share small pieces of code and configuration instantly.

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()
}

Create Public Gist