x/oak/keyStack.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
method KeyStack.prototype.sign
import { KeyStack } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/keyStack.ts?p=prototype.sign&s=KeyStack";

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>[src]