Skip to main content

split_vec

Function split_vec 

Source
pub fn split_vec<R: RandomSource + ?Sized>(
    secret: &[u8],
    threshold: u8,
    share_count: u8,
    rng: &mut R,
) -> Result<Vec<Share>>
Expand description

split, returning the shares.