Crypto Lib
    Preparing search index...

    Interface HmacComputeOptions

    Options for computing an HMAC.

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

    Hash algorithm to use.

    key: string | Uint8Array<ArrayBufferLike>

    HMAC key (hex string or bytes).

    data: string | Uint8Array<ArrayBufferLike>

    Data to authenticate (UTF-8 string or bytes).