Mcrypt question (third round)!!!!!! Help me!!!!

From: Date: Fri, 27 Oct 2000 17:42:56 +0000
Subject: Mcrypt question (third round)!!!!!! Help me!!!!
Groups: php.general 
Request: Send a blank email to php-general+get-22726@lists.php.net to get a copy of this message
Hi all, this is the third round of my saga. The code above: // ******************************* $key = chr(0).chr(0).chr(0).chr(0).chr(0).chr(0).chr(0).chr(0); $text = chr(0).chr(0).chr(0).chr(0).chr(0).chr(0).chr(0).chr(0); $iv = mcrypt_create_iv (mcrypt_get_iv_size (MCRYPT_BLOWFISH,MCRYPT_MODE_ECB), MCRYPT_RAND); echo "Key: ".bin2hex($key)."<br>"; echo "Block Data: ".bin2hex($text)."<br>"; $crypttext = mcrypt_encrypt (MCRYPT_BLOWFISH,$key,$text,MCRYPT_MODE_ECB,$iv); echo "Block Cipher: ".bin2hex($crypttext)."<br>"; // ******************************* Produces: Key: 0000000000000000 Block Data: 0000000000000000 Block Cipher: 4597f94e78dd9861 The Blowfish test vectors from http://www.counterpane.com/vectors.txt the expected value of Block cipher is 4EF997456198DD78 !!!!!! Any idea about how obain it? Thank's! []'s

« previous php.general (#22726) next »