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

Create a set of shares and encrypt them to a given set of public keys but make the shares shorted by using the nonce from the ciphertext when encrypting the shares