Expand description
Simple XTEA
implementation in Rust.
Minimal protection is afforded by the use of wrapping_add
and wrapping_sub
functions of Rust’s core. Generally
speaking the code should not have any troubles (and this
code has been moderately used in production).
Functions§
- decipher
- Deciphers the blocks of data using the given key.
- decipher_
pair - Deciphers a single pair pair (a single 64-bit block) in place.
- encipher
- Enciphers the blocks of data using the given key.
- encipher_
pair - Enciphers a single pair pair (a single 64-bit block) in place.