Skip to main content

Module conversions

Module conversions 

Source
Expand description

WASM conversion helpers between Rust buffers and JavaScript js_sys::Uint8Array.

These are mechanical copies: they do not infer sensitivity. Callers choose [zeroize::Zeroizing] or explicit clearing when handling secrets.

Structs§

WasmConversions
Byte-array conversion helpers for WASM bindings.

Constants§

WASM_SIGNATURE_ALGORITHM_IDS
Canonical WASM signature algorithm id strings for listings (WasmSignatureContext, WasmProviderManager, JSON summaries). Matches WasmConversions::algorithm_to_string for SLH.