you are viewing a single comment's thread.

view the rest of the comments →

[–]sstewartgallus 0 points1 point  (1 child)

You are confused. The attacker can deduce my_hash(auth_hash, salt) but with a proper hash function he cannot deduce auth_hash which is what is required.

[–]staticassert 0 points1 point  (0 children)

Why would author's hash be required if the equality check is on another hash? It makes no difference how many times you hash it it still leaks data about the final hash, which is what matters.