What is HighwayHash and when to use it
masterHighwayHash is a high-performance pseudo-random-function (PRF) that takes a 256-bit key and computes 64, 128, or 256-bit hash values.
Use cases:
- Preventing hash-flooding attacks.
- Authenticating short-lived messages.
- Fingerprinting functions.
Important Limitations:
- HighwayHash is not a general-purpose cryptographic hash function (like Blake2b, SHA-3, or SHA-2).
- Do not use it if strong collision resistance is required.
Stability: All three output sizes (64, 128, and 256 bits) are declared stable, meaning hash results for a given input are guaranteed not to change.