Skip to main content

Module distributed_prg

Module distributed_prg 

Source
Expand description

Distributed pseudo-random generator (PRG).

Threshold PRG for ceremony randomness. Each share produces a deterministic pseudo-random stream; combining shares produces the true randomness.

Structs§

PrgShare
A PRG share.

Functions§

combine
Combine T PRG shares (XOR) to produce the true random output.
distribute
Generate PRG shares from a master seed.