Skip to main content

scramble

Function scramble 

Source
pub fn scramble(cw: &ControlWord, data: &mut [u8])
Expand description

Scramble (encrypt) data in-place with the given control word.

Payloads shorter than 8 bytes are not scrambled.