function hmacSha256Hex
hmacSha256Hex(
message: string,
secret: string,
): Promise<string>

Hex-encoded HMAC-SHA256 of a UTF-8 message under the given secret.

Parameters

message: string
secret: string

Return Type

Promise<string>

Usage

import { hmacSha256Hex } from "doc.ts";