function hmacWithKey
hmacWithKey(
value: string,
): Uint8Array

HMAC-SHA256 of one text under a caller-supplied key. Each purpose derives its own key. The blind index derives from the site key. A door's cache key derives from the site key and the door's name. No two uses share a key.

Parameters

value: string

Return Type

Usage

import { hmacWithKey } from "doc.ts";