storage_proofs::crypto::xor
pub fn encode(key: &[u8], plaintext: &[u8]) -> Result<Vec<u8>>
Encodes plaintext by elementwise xoring with the passed in key.