Function frost_ristretto255::keys::dkg::part1

source ·
pub fn part1<R: RngCore + CryptoRng>(
    identifier: Identifier,
    max_signers: u16,
    min_signers: u16,
    rng: R
) -> Result<(SecretPackage, Package), Error>
Expand description

Performs the first part of the distributed key generation protocol for the given participant.

It returns the round1::SecretPackage that must be kept in memory by the participant for the other steps, and the round1::Package that must be sent to other participants.