function hmacHash
hmacHash(value: string): Promise<string>

HMAC-SHA256 hash using DB_ENCRYPTION_KEY Used for blind indexes and hashing limited keyspace values Returns deterministic output for same input (unlike encrypt)

Parameters

value: string

Return Type

Promise<string>

Usage

import { hmacHash } from "doc.ts";