Hashes can sometimes be cached, if there is sufficient space in the info construction where The true secret is stored; caching the result of comparisons (a binary operation) is usually impractical. On the other hand, comparisons can profit from shortcutting: if keys often vary within the 1st handful of bytes, a negative comparison can be extremely … Read More