[][src]Function cryptoballot::ecies_ed25519::decrypt

pub fn decrypt(receiver_sec: &SecretKey, msg: &[u8]) -> Result<Vec<u8>, Error>

Decrypt a ECIES encrypted ciphertext using the receiver's SecretKey.