Function raiden_blockchain::keys::decrypt
source · pub fn decrypt(
private_key: &PrivateKey,
data: &[u8]
) -> Result<Vec<u8>, SecpError>
Expand description
Decrypts bytes using the current account’s private key.
pub fn decrypt(
private_key: &PrivateKey,
data: &[u8]
) -> Result<Vec<u8>, SecpError>
Decrypts bytes using the current account’s private key.