Skip to content
HomePagesHomePages template kit

hmacHex

HMAC-SHA256 a message with a hex-encoded secret, returning the signature as lowercase hex.

HMAC-SHA256 a message with a hex-encoded secret, returning the signature as lowercase hex.

Import from @homepages/template-kit/browser.

function hmacHex(secretHex: string, message: string): Promise<string>
Name Type Required Description
secretHex string required
message string required

Promise<string>