Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/tools/deps/crypto.ts>KeyStack#verify

A better way to work with processes in Deno.
Very Popular
Go to Latest
method KeyStack.prototype.verify
import { KeyStack } from "https://deno.land/x/proc@0.21.0/tools/deps/crypto.ts";

Given data and a digest, verify that one of the keys provided the constructor was used to generate the digest. Returns true if one of the keys was used, otherwise false.

Parameters

data: Data
digest: string

Returns

Promise<boolean>