extended-tea
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 Wikipedia 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.
Installation
To use this crate, add the following to your Cargo.toml
:
[]
= "0.1.1"
Example
use XTEA;
use BE;
let input: = vec!.into_boxed_slice;
let xtea = XTEA new;
let encrypted = ;
let decrypted = ;
assert_eq!;