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#sign

A better way to work with processes in Deno.
Very Popular
Go to Latest
method KeyStack.prototype.sign
import { KeyStack } from "https://deno.land/x/proc@0.21.0/tools/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.

Returns

Promise<string>