Glossary: System Design Beyond the Basics in JavaScript
Constant-time comparison
Also written: timingSafeEqual
A comparison that takes the same time whether the first or last character differs, so attackers can't guess a signature by timing. Node provides it as crypto.timingSafeEqual.