note 44532 rejected from function.mcrypt-decrypt by tomsommer

From: Date: Mon, 09 Aug 2004 12:16:20 +0000
Subject: note 44532 rejected from function.mcrypt-decrypt by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74317@lists.php.net to get a copy of this message
Note Submitter: php@maddcow.us ---- How do you know if the mcrypt_decrypt worked successfully. I am using the Rijndael algorithm to encrypt/decrypt cookies. But even if I pass it the wrong key, it gives me some code. Is there a way to know if it worked successfully or not. Or should I just encode some sort of thing for me to recognize in the first few characters...like: "PHP|User=x|Timeout=x...." or something? Any recommendations? Alex

« previous php.notes (#74317) next »