Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/crypto.ts>timingSafeEqual

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function timingSafeEqual
Re-export
import { timingSafeEqual } from "https://deno.land/x/lume@v1.18.4/deps/crypto.ts";

Compare to array buffers or data views in a way that timing based attacks cannot gain information about the platform.

Parameters

a: ArrayBufferView | ArrayBufferLike | DataView
b: ArrayBufferView | ArrayBufferLike | DataView

Returns

boolean