pub fn xor<K: AsRef<EncryptionKey>>(data: &mut [u8], key: K)Expand description
Encrypts the specified data with the key.
ยงParameters
data: The data buffer which can be either encrypted or decrypted. After this function has been called, it will store the encrypted/decrypted data.key: The key that should be used to encrypt/decrypt the specified data.