function hmacHashSync
hmacHashSync(value: string): BlindIndex

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

BlindIndex

Usage

import { hmacHashSync } from "docs/crypto.ts";