Crypto Wasm
    Preparing search index...

    Interface WasmStatus

    WASM module initialization status.

    import type { WasmStatus } from "@aspect/crypto-wasm";

    const status: WasmStatus = {
    available: true,
    version: "0.0.3",
    operations: ["hash-sha256", "aes-gcm-encrypt"],
    memoryUsageBytes: 65536,
    };
    interface WasmStatus {
        available: boolean;
        version: string | null;
        operations: AcceleratedOperation[];
        memoryUsageBytes: number;
    }
    Index
    available: boolean

    Whether WASM is available in the current runtime.

    version: string | null

    Semantic version of the loaded WASM module, or null if unavailable.

    operations: AcceleratedOperation[]

    List of operations the WASM module can accelerate.

    memoryUsageBytes: number

    Current WASM linear memory usage in bytes.