Skip to main content

keygen

Function keygen 

Source
pub fn keygen(threshold: u32, party_count: usize) -> Result<KeygenOutput>
Expand description

Drive the CMP20 non-interactive DKG in-process for party_count parties at threshold threshold.

threshold must be in 1..=party_count. All parties are in-process (Party::inproc), identified as p0, p1, … p{n-1}.