Function crypto::shamir::generate

source ยท
pub fn generate(secret: &[u8], n: usize, k: usize) -> Vec<Vec<u8>>
Expand description

This function generates a polynomial with the given secret, passed as bytes.