XTEA
This crate provides a Rusty implementation of the XTEA cipher, written in Rust.
This crate also provides convenience methods for ciphering and deciphering u8 slices
and Read streams.
See https://en.wikipedia.org/wiki/XTEA for more information on the XTEA cipher.
Note
This crate should only be used if you're working on an existing application that uses XTEA. If you're wanting to implement an encryption or a cipher system in your project DO NOT USE THIS.
Documentation
Run the command cargo doc in the directory to generate documentation in ./target/doc/
Installation
To use this crate, add the following to your Cargo.toml:
[]
= "0.0.0"
Example
use XTEA;
use BE;
let input: = vec!.into_boxed_slice;
let xtea = XTEAnew;
let encrypted = ;
let decrypted = ;
assert_eq!;