Skip to content

Glossary: System Design Beyond the Basics in C++

Constant-time comparison

Also written: constant_time_equal

Comparing two strings by checking every character so the time taken doesn't reveal where they differ. It stops attackers guessing a signature by timing the answers.

Where the book teaches it

Related terms

HMACSigned URL