Skip to main content

Crate poprf_ristretto_wasm

Crate poprf_ristretto_wasm 

Source
Expand description

wasm-bindgen bindings for the client-side batched POPRF surface (blind_batch / finalize_batch).

Array parameters use js_sys::Array rather than Vec<js_sys::Uint8Array> to avoid the wasm-bindgen externref vector transform, which requires a CLI version with externref table support.

Functions§

blind_batch
Batched blind: returns one base64-encoded BlindedElement per input.
finalize_batch
Batched finalize: verifies the server’s DLEQ proof and unblinds each EvaluatedElement into a 64-byte PoprfOutput.