[][src]Function storage_proofs::crypto::xor::encode

pub fn encode(key: &[u8], plaintext: &[u8]) -> Result<Vec<u8>>

Encodes plaintext by elementwise xoring with the passed in key.