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

x/lume/deps/crypto.ts>KeyStack#verify

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method KeyStack.prototype.verify
import { KeyStack } from "https://deno.land/x/lume@v1.15.0/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>