Function raiden_blockchain::keys::encrypt

source ·
pub fn encrypt(receiver_pub: &[u8], data: &[u8]) -> Result<Vec<u8>, SecpError>
Expand description

Encrypt bytes with the receiver’s public key.