Crate tc_tea

Crate tc_tea 

Source
Expand description

Tencent modified TEA (tc_tea) is a variant of the standard TEA (Tiny Encryption Algorithm).

Notably, it uses a different round number and uses a “tweaked” CBC mode.

Modules§

cbc
ecb

Enums§

TcTeaError

Functions§

decrypt
Decrypts tc_tea encrypted data.
encrypt
Encrypts given plain text using tc_tea.
encrypt_with_salt
Encrypts given plain text using tc_tea.
get_encrypted_size
Calculate expected size of encrypted data.
parse_key
Parse key to u32 array