pub fn xor(x: &[u8], y: &[u8], output: &mut [u8])
Simple slice xor function modified from: https://github.com/DaGenix/rust-crypto/blob/master/src/scrypt.rs