pub fn encode(body: &mut [u8], key: &[u8; 16], seed: &[u8; 16])Expand description
Encode an application body with its session key and outgoing rolling state.
The first byte is unchanged. Each lane remembers the next nonzero plaintext byte, starting at the end of the body with the supplied 16-byte state.