Skip to main content

Module fasthash

Module fasthash 

Source
Expand description

Hash maps for keys a peer can choose (edition and event ids, npubs) that live within one computation, as a fold’s do: foldhash’s speed, seeded with a secret from the OS. foldhash seeds itself from addresses and the clock, which a wasm build leaves fixed, so a precomputed set of colliding ids would slow every reader.

Structs§

Seeded
A map’s hasher: the process’s secret, and a seed of the map’s own.

Type Aliases§

FastMap
FastSet