A plea to developers of non-cryptographic hash functions: Test performance with very small keys (like, 4-16 bytes). They’re extremely common. SipHash is disfavored in Rust these days because, despite having good perf on long keys, suffers a lot on very short ones.
-
-
Lemire-Kaser hashing is pretty efficient even on short messages https://arxiv.org/abs/1202.4961
-
I'm guessing by key you mean what I'm calling "message". We call it the message even though it's the key to the hash function because we need the word "key" for the key to the hash function. At least with my cryptographer hat on :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.