decrypt

Function decrypt 

Source
pub fn decrypt<C: Curve>(
    private: &C::Scalar,
    cipher: &EciesCipher<C>,
) -> Result<Vec<u8>, Error>
Expand description

Decrypts the message with a secret key (curve scalar) and returns the cleartext