stable_hash

Function stable_hash 

Source
pub fn stable_hash(value: &str) -> String
Expand description

64-bit FNV-1a over the string’s UTF-16 code units, rendered as 16 lowercase hex digits, zero-padded.

Byte-exact with stableHash in packages/diff/src/fingerprint.ts. Not a cryptographic hash: it is chosen for non-adversarial drift catching and content matching, and the callers in the diff pass guard a residual collision by bucketing on ifcType and requiring component agreement. The 64-bit width replaced a 32-bit one that was demonstrably too narrow (upstream issue #1962).