Home » Encryption » Crypt_Xtea
A class that implements the Tiny Encryption Algorithm (TEA) (New Variant).
This package is unmaintained.
Download latest release 1.1.0 (archived versions might be outdated)
License: PHP 2.02
Description
A class that implements the Tiny Encryption Algorithm (TEA) (New Variant).
This class does not depend on mcrypt.
Since the latest fix handles properly dealing with unsigned integers,
which where solved by introducing new functions _rshift(), _add(), the
speed of the encryption and decryption has radically dropped.
Do not use for large amounts of data.
Original code from http://vader.brad.ac.uk/tea/source.shtml#new_ansi
Currently to be found at: http://www.simonshepherd.supanet.com/source.shtml#new_ansi
Maintainers
- Jeroen Derks (jderks) — lead, active
Dependencies
Required
- PHP (>= 4.0.0)
- PEAR Installer (>= 1.4.0b1)
Releases
- 1.1.0 (stable, 2008-03-06)
Release notes
License: PHP 2.02
Fixed bug 12749: added support for empty keys.
- 1.1.0RC5 (beta, 2006-05-25)
- 1.1.0RC4 (beta, 2004-10-04)
- 1.1.0RC3 (beta, 2004-10-04)
- 1.1.0RC2 (beta, 2004-10-04)
- 1.1.0RC1 (beta, 2004-09-08)
- 1.0 (stable, 2002-09-04)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #2474 | Bogus | Req | 2004-10-07 | PHP 5.02 forces update | |
| #3811 | Closed | Bug | 2005-03-14 | xtea.php and Xtea.php files conflict on case-insensitive OS | |
| #8586 | Bogus | Req | 1.1.0RC5 | 2006-08-30 | patch to improve the Xtea algorithm performance |
| #12749 | Closed | Bug | 1.1.0RC5 | 2007-12-21 | Divide by Zero Error |
| #21208 | Assigned | Bug | 1.1.0 | 2017-05-05 | use a proper __construct |