pub fn xor_encode(data: Vec<u8>, key: &[u8; 32]) -> Vec<u8>
Expand description

This function performs xor encoding / decoding of the input data

Used in both Socket.encoder and Socket.decoder by default