Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/doc/perl-Crypt-ECB/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/perl-Crypt-ECB/README.XTEA
There are two modules implementing the XTEA block cipher, Crypt-XTEA and
Crypt-XTEA_PP. In their current versions, as of March 2016 that is
Crypt-XTEA-0.0107 and Crypt-XTEA_PP-0.0106, the way blocksize() and keysize()
are implemented, they don't work on my platform (perl 5.22.1 on cygwin64 on
Windows 7). blocksize() and keysize() are implemented as constants with values
$KEY_SIZE and $BLOCK_SIZE. Now it seems to me, they are defined before $KEY_SIZE
and $BLOCK_SIZE are initialized. This results in returning undef whenever
Crypt::ECB calls keysize() or blocksize(). I have provided small patches which
replace "use constant keysize => $KEY_SIZE" with "sub keysize { $KEY_SIZE }"
(and the same for blocksize), like other cipher modules do.

Hry