|
|
|
|
|
by manwe150
1103 days ago
|
|
Does that end up moving high bits into the low bits? That could possibly be very helpful for all sets of strings, since the equality test will start with the first byte, so it could better to have the rotr on the hash so that the hash is less affected by the first byte (and more affected by later bytes). Just hypothetically speaking that is where the implication could break down, since it doesn’t consider the non-uniform cost of the equality. |
|
I would expect the equality test to compare at least a full word at a time, just as the hash hashes at least a full word at a time.