Function nix_compat::narinfo::fingerprint
source ยท pub fn fingerprint<'a, R: Iterator<Item = &'a StorePathRef<'a>>>(
store_path: &StorePathRef<'_>,
nar_sha256: &[u8; 32],
nar_size: u64,
references: R,
) -> String
Expand description
Computes the fingerprint string for certain fields in a super::NarInfo. This fingerprint is signed by an ed25519 key, and in the case of a Nix HTTP Binary cache, included in the NARInfo files served from there.