Crypto Lib
    Preparing search index...

    Interface HmacVerifyOptions

    Options for crypto.hmacVerify.

    interface HmacVerifyOptions {
        algorithm: "sha256" | "sha384" | "sha512" | "sha3-256" | "sha3-512";
        key: string | Uint8Array<ArrayBufferLike>;
        data: string | Uint8Array<ArrayBufferLike>;
        mac: string;
    }
    Index
    algorithm: "sha256" | "sha384" | "sha512" | "sha3-256" | "sha3-512"

    HMAC algorithm to use.

    key: string | Uint8Array<ArrayBufferLike>

    Hex-encoded key or raw bytes.

    data: string | Uint8Array<ArrayBufferLike>

    Data that was authenticated.

    mac: string

    Hex-encoded MAC to verify against.