pub fn encrypt_share( share: &[u8], key: &PublicKey) -> Result<Vec<u8>, EncryptError>
Encrypt a bytestring using the public key
This uses ECIES with X9.63 key derivation function and AES-GCM for the symmetic encryption and MAC.