Skip to content

Glossary: System Design Beyond the Basics in Java

Constant-time comparison

Also written: MessageDigest.isEqual

Comparing two values in the same time whether the first or last byte differs. This stops an attacker guessing a signature by timing the answers.

Where the book teaches it

Related terms

HMACSigned URL