Compares two byte buffers in constant time to prevent timing attacks.
First byte buffer
Second byte buffer
True if both buffers are identical in length and content
const match = timingSafeEqual(sigA, sigB); Copy
const match = timingSafeEqual(sigA, sigB);
Compares two byte buffers in constant time to prevent timing attacks.