Function bc_components::sskr_generate_using
source · pub fn sskr_generate_using(
spec: &SSKRSpec,
master_secret: &SSKRSecret,
rng: &mut impl RandomNumberGenerator
) -> Result<Vec<Vec<SSKRShare>>, SSKRError>Expand description
Generates SSKR shares for the given Spec and Secret using the provided
random number generator.
Arguments
spec- TheSpecinstance that defines the group and member thresholds.master_secret- TheSecretinstance to be split into shares.random_generator- The random number generator to use for generating shares.