Crypto Lib
    Preparing search index...

    Function detectWasmBackend

    • Detect the best available WASM backend.

      Checks (in order):

      1. WASM SIMD support (fastest, requires V8 ≥ 91 / Node 16+)
      2. Basic WASM support (moderate speedup)
      3. Pure JS fallback (always available)

      Returns WasmBackend

      const backend = detectWasmBackend();
      // "wasm-simd" | "wasm" | "js"