Skip to main content
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.17.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