hashlib: fudge always

This commit is contained in:
Emil J. Tywoniak 2024-10-18 22:59:27 +02:00
parent 582259f770
commit 209ab6fb72
1 changed files with 1 additions and 2 deletions

View File

@ -99,8 +99,7 @@ class Hasher {
[[nodiscard]]
static uint32_t mkhash(uint32_t a, uint32_t b) {
uint32_t hash = ((a << 5) + a) ^ b;
if (fudge)
hash = fudge ^ mkhash_xorshift(hash);
hash = mkhash_xorshift(fudge ^ hash);
return hash;
}
public: