Skip to main content

compute_fingerprint

Function compute_fingerprint 

Source
pub fn compute_fingerprint(data: &[u8]) -> String
Expand description

SHA-256 fingerprint of an in-memory byte slice.

Returns "sha256:{lowercase_hex}", the convention used throughout the runtime for artifact and transcript fingerprints.