pub fn decrypt_raw(data: &Vec<u8>, key: &str) -> Vec<u8> {
    let key = key.bytes().collect();
    to_bytes(&decrypt_(&mut to_u32(&data, false), &to_u32(&key, false)),
            false)
}
/// Decrypt a u8 vector with XXTEA
///
/// The output isn't verified for correctness, thus additional checks needs to
/// be performed on the output.
///
/// # Arguments
///
/// * `data` - The data to be decrypted
/// * `key` - encryption key
///
/// # Example
///
/// ```
/// let key : &str = "SecretKey";
/// let data : [u8; 5] = [11, 13, 0, 14, 15];
///
/// let decrypted_data = xxtea::decrypt_raw(&data.to_vec(), &key);
/// println!("Decrypted data: {:?}", decrypted_data);
/// ```
///
Decrypt a u8 vector with XXTEA
The output isn't verified for correctness, thus additional checks needs to
be performed on the output.
Decrypt a u8 vector with XXTEA The output isn ' t verified for correctness thus additional checks needs to be performed on the output .
pub fn decrypt_raw(data: &Vec<u8>, key: &str) -> Vec<u8> {
    let key = key.bytes().collect();
    to_bytes(&decrypt_(&mut to_u32(&data, false), &to_u32(&key, false)),
            false)
}
pub fn decrypt_raw ( data : & Vec < u8 > , key : & str ) -> Vec < u8 > { let key = key . bytes ( ) . collect ( ) ; to_bytes ( & decrypt_ ( & mut to_u32 ( & data , false ) , & to_u32 ( & key , false ) ) , false ) }
Decrypt a u8 vector with XXTEA
The output isn't verified for correctness, thus additional checks needs to
be performed on the output.
Decrypt a u8 vector with XXTEA The output isn ' t verified for correctness thus additional checks needs to be performed on the output .
data
&Vec<u8>
key
&str
data
&Vec<u8>
key
&str
example


let decrypted_data = xxtea::decrypt_raw(&data.to_vec(), &key);
println!("Decrypted data: {:?}", decrypted_data);
```
let decrypted_data = xxtea :: decrypt_raw ( &data . to_vec () &key ) ; println! ( " Decrypted data : { : ? } " decrypted_data ) ; ` ` `