Glossary: System Design Beyond the Basics
Constant-time comparison
Also written: hmac.compare_digest
A comparison that takes the same time whether the first or last character differs, so an attacker can't guess a signature by timing answers.
Glossary: System Design Beyond the Basics
Also written: hmac.compare_digest
A comparison that takes the same time whether the first or last character differs, so an attacker can't guess a signature by timing answers.