Optimized SipHash-2-4 implementation for uint256.
Declared in <crypto/siphash.h>
class PresaltedSipHasher;
This class caches the initial SipHash state (v0..v3) derived from (k0, k1) and implements a specialized hashing path for uint256 values, with or without an extra 32-bit word. The internal state is immutable, so PresaltedSipHasher instances can be reused for multiple hashes with the same key.
| Name | Description |
|---|---|
PresaltedSipHasher [constructor] | Construct a presalted hasher caching the state derived from 128-bit key (k0, k1). |
operator() | Function call operators |