mcrypt MODE (CBC, CFB, OFB, etc) mis-understanding

From: Date: Wed, 22 Nov 2000 13:29:01 +0000
Subject: mcrypt MODE (CBC, CFB, OFB, etc) mis-understanding
Groups: php.general 
Request: Send a blank email to php-general+get-26726@lists.php.net to get a copy of this message
I understand that I probably just don't understand enough about crypto, but can someone explain why when using the php mcrypt() functions (with blowfish, or tripledes) only MODE ECB decrypts the data back into it's original form. When I try any of the other modes (CBC, CFB, OFB, nOFB, STREAM), the sum (or md5sum rather) of the decrypted data is different from my input. I would expect it to be the same. What am I missing? :) -jeremy

« previous php.general (#26726) next »