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