#19697 [Opn]: mcrypt and cookies

From: Date: Tue, 01 Oct 2002 20:00:53 +0000
Subject: #19697 [Opn]: mcrypt and cookies
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21106@lists.php.net to get a copy of this message
ID: 19697 User updated by: avillarm@terra.es Reported By: avillarm@terra.es Status: Open Bug Type: mcrypt related Operating System: Linux PHP Version: 4.2.2 New Comment: I use the rijndael-256 encryption. I think that there is a bug with this type of encryption or the cookies. Yesterday I got an error when I saved the IV to a cookie. The correct value should be "¶Òñ­|Çè'dsŠAåå懲ˆ5؃A¸©»qYbI;Ú" but when I save the IV value to a cookie and then display it, I shows "¶Òñ­|Çè\'dsŠAåå懲ˆ5؃A¸©»qYbI;Ú". That are 33 chars, not 32. Why that "\"? I don't know if this a PHP problem, a mcrypt problem, a rijndael-256 encryption bug, or a limitation of the cookies. Previous Comments: ------------------------------------------------------------------------ [2002-10-01 14:58:23] avillarm@terra.es I use the rijndael-256 encryption. I think that there is a bug with this time of encryption or the cookies. Yesterday I got an error when I saved the IV to a cookie. The correct value should be "¶Òñ­|Çè'dsŠAåå懲ˆ5؃A¸©»qYbI;Ú" but when I save the IV value to a cookie and then display it, I shows "¶Òñ­|Çè\'dsŠAåå懲ˆ5؃A¸©»qYbI;Ú". That are 33 chars, not 32. Why that "\"? I don't know if this a PHP problem, a mcrypt problem, a rijndael-256 encryption bug, or a limitation of the cookies. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19697&edit=1

« previous php.bugs (#21106) next »