Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Keygrip.prototype.verify
import { Keygrip } from "https://deno.land/x/cookies@1.0.0/deps.ts";

Verifies if the data matches the digest with any of the keys in the keychain.

Parameters

data: string

Data to digest and verify

digest: string

Digested hash to compare against

Returns

boolean