[][src]Function sss_rs::raw_share::create_shares_from_secret_custom_rng

pub fn create_shares_from_secret_custom_rng(
    secret: u8,
    shares_required: u8,
    shares_to_create: u8,
    rand: &mut Box<dyn RngCore>
) -> Result<Vec<(u8, u8)>, Error>

See $create_shares_from_secret for documentation This function is similar except that a custom RNG can be used to produce the coefficients. NOTE: USE WITH CAUTION, static seeding can lead to predictable sharing and loss of unconditional security.