pub fn share_and_encrypt(
    public_keys: Vec<[u8; 32]>,
    secret: Vec<u8>,
    threshold: u8
) -> Result<EncryptedShareSet, ShareAndEncryptError>
Expand description

Create a set of shares and encrypt them to a given set of public keys