Skip to main content

Module distributed_prf

Module distributed_prf 

Source
Expand description

Distributed pseudorandom function (PRF).

Each party contributes a PRF share; the combined output is the XOR of partial evaluations. Used for threshold key derivation without reconstructing the underlying secret.

Structs§

DistributedPrfResult
Result of a distributed PRF computation.
PrfShare
A PRF share: a key that can evaluate the PRF on inputs.

Functions§

combine
Combine partial PRF outputs (XOR) to get the final output.
distribute
Generate PRF shares by splitting a secret into T-of-N shares. Each share is independently usable to compute partial PRF output.
evaluate
Compute the distributed PRF: each party evaluates, then combine.