Crate sysfunc_blockcipher_xtea

Source
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.