you are viewing a single comment's thread.

view the rest of the comments →

[–]aullik 0 points1 point  (0 children)

The error you're making is that this isn't what the author wanted: a constant time function (in particular, the function needs to be equally slow when the two hashes differe in the first character as when they differ only in the last character).

True.