Crypto Lib
    Preparing search index...

    Interface WasmHashOptions

    Options for WASM-accelerated hashing.

    interface WasmHashOptions {
        algorithm: WasmHashAlgorithm;
        data: string | Uint8Array<ArrayBufferLike>;
        encoding?: "utf8" | "hex";
    }
    Index

    Hash algorithm to use.

    data: string | Uint8Array<ArrayBufferLike>

    Data to hash (hex string, UTF-8 string, or bytes).

    encoding?: "utf8" | "hex"

    Encoding of the input string.

    "utf8"