pub fn share(
    secret: &[u8],
    num_shares: u8,
    threshold: u8
) -> Result<Vec<Vec<u8>>, ShareError>
Expand description

Create a set of shares for a given secret