Skip to content

Glossary: Building APIs with Node.js

timingSafeEqual

A `node:crypto` function that compares two Buffers in the same time whether they differ early or late, so timing reveals nothing.

Where the book teaches it

Related terms

Hash, saltBuffer