Skip to content
/ XTEA Public

XTEA (eXtended TEA) a block cipher designed to correct weaknesses in TEA

License

Notifications You must be signed in to change notification settings

IU5HKU/XTEA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

XTEA

XTEA (eXtended TEA) a block cipher designed to correct weaknesses in TEA

Not my work, you can refer the wiki at this LINK to retrieve better infos. This is a simple example of use for encipher() and decipher() functions proposed by the authors, David Wheeler and Roger Needham of the Cambridge Computer Laboratory. XTEA was a simple method for crypting firmware for some goodies around, and to decipher them at runtime. The algo uses 128bit keys over 64bit chuncks of data, with suggested 64 rounds of xoring. An easy and fast algo to implement, but really weak.

The file has been compiled under Visual C++ IDE, but can be obviously compiled with everything you want, only things, be careful with this statement:

 typedef unsigned int uint32_t;

to make the functions work as expected under 64bit environments too.

About

XTEA (eXtended TEA) a block cipher designed to correct weaknesses in TEA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages