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

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

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method KeyStack.prototype.sign
import { KeyStack } from "https://deno.land/x/lume@v1.16.1/deps/crypto.ts";

Take data and return a SHA256 HMAC digest that uses the current 0 index of the keys passed to the constructor. This digest is in the form of a URL safe base64 encoded string.

Parameters

data: Data

Returns

Promise<string>