Skip to main content

Module batch

Module batch 

Source
Expand description

Batch signature verification (spec §BENCH note): relays and registries verify many envelopes from the same or different senders; the batched ed25519 algorithm amortizes the expensive scalar math across signatures.

Functions§

verify_batch
Verify many (envelope, key) pairs. Returns Ok(()) only if every signature is valid; Err lists the indices of the invalid ones.