Skip to main content
Module

x/keygrip/mod.ts>Keygrip#compare

A keygrip implementation in Deno
Latest
method Keygrip.prototype.compare
import { Keygrip } from "https://deno.land/x/keygrip@v2.0.0/mod.ts";

Timing safe compare using Brad Hill's Double HMAC pattern

Parameters

a: string

Digested data a

b: string

Digested data b

Returns

boolean