Function storage_proofs_core::crypto::xor::decode

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

Decodes ciphertext by elementwise xoring with the passed in key.