Function ecies_ed25519::decrypt[][src]

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

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