Function storage_proofs_core::crypto::xor::encode

source ยท
pub fn encode(key: &[u8], plaintext: &[u8]) -> Result<Vec<u8>>
Expand description

Encodes plaintext by elementwise xoring with the passed in key.