Skip to content

Glossary: System Design Beyond the Basics in Rust

Constant-time comparison

Also written: constant_time_eq

Comparing two values by checking every byte instead of stopping at the first difference. It takes the same time wherever they differ, so an attacker can't guess a signature by timing.

Where the book teaches it

Related terms

HMAC (hash-based message authentication code)Signed URL