Function vsss_rs::feldman::split_secret_with_participant_generator
source · pub fn split_secret_with_participant_generator<G, I, S, P>(
threshold: usize,
limit: usize,
secret: G::Scalar,
generator: Option<G>,
rng: impl RngCore + CryptoRng,
participant_generator: P
) -> VsssResult<(Vec<S>, Vec<G>)>where
G: Group + GroupEncoding + Default,
I: ShareIdentifier,
S: Share<Identifier = I>,
P: ParticipantNumberGenerator<G::Scalar>,
Expand description
Create shares from a secret and a participant number generator.