Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method KeyStack.prototype.sign
import { KeyStack } from "https://deno.land/std@0.203.0/crypto/unstable/keystack.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.

Returns

Promise<string>