Skip to main content

ext_hash

Function ext_hash 

Source
pub fn ext_hash(b: &[u8]) -> u64
Expand description

FNV-1a 64. Only contract: same bytes -> same hash. Collision = wrong id returned by resolve(); the extkey VALUE stores the full external key so a collision is DETECTED (compare) rather than silently wrong.