Hash data using the fastest available backend.
Uses the @noble pure JavaScript implementations; no WebAssembly module ships.
@noble
const result = wasmHash({ algorithm: "blake3", data: "hello" });console.log(result.digest); // hex-encoded hashconsole.log(result.backend); // "js" | "wasm" | "wasm-simd" Copy
const result = wasmHash({ algorithm: "blake3", data: "hello" });console.log(result.digest); // hex-encoded hashconsole.log(result.backend); // "js" | "wasm" | "wasm-simd"
Hash data using the fastest available backend.
Uses the
@noblepure JavaScript implementations; no WebAssembly module ships.