Options for HMAC verification.
import type { EdgeHmacVerifyOptions } from "@aspect/crypto-edge";const opts: EdgeHmacVerifyOptions = { key: new Uint8Array(32), data: new TextEncoder().encode("message"), signature: hmacBytes,}; Copy
import type { EdgeHmacVerifyOptions } from "@aspect/crypto-edge";const opts: EdgeHmacVerifyOptions = { key: new Uint8Array(32), data: new TextEncoder().encode("message"), signature: hmacBytes,};
HMAC key bytes.
Data to sign.
Optional
Hash algorithm (defaults to SHA-256).
Signature to verify against.
Options for HMAC verification.
Example