2 ms·
> How is “exposing the hash seed” a problem for the vast majority of applications? They can be DOS'ed. > What timing information would be leaked and why would
by rurban 7y ago
> How is “exposing the hash seed” a problem for the vast majority of applications?
They can be DOS'ed.
> What timing information would be leaked and why would that be problem?
You misunderstood. By 1. leaking the order, and 2. by checking the timing of getting certain keys of a map you do have two independent infos to get at the secret seed.
> accepting unsorted maps seems like it could introduce covert channels?
A covert channel might be exposed by the sender, if he uses some non-random but unsorted map order.
The receiver needs to accept any order. There's no risk in accepting unsorted maps. The only risk at the receiver side is another famous omission from the spec: How to deal with duplicate keys. Accept (overwrite or drop) or reject? All 3 cases can be seen in the wild.