PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#2474BogusReq2004-10-07PHP 5.02 forces update
#3811ClosedBug2005-03-14xtea.php and Xtea.php files conflict on case-insensitive OS
#8586BogusReq1.1.0RC52006-08-30patch to improve the Xtea algorithm performance
#12749ClosedBug1.1.0RC52007-12-21Divide by Zero Error
#21208AssignedBug1.1.02017-05-05use a proper __construct