note 78415 added to function.mcrypt-decrypt
| From: | smp_info at yahoo dot com | Date: | Thu, 11 Oct 2007 06:27:34 +0000 |
| Subject: | note 78415 added to function.mcrypt-decrypt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131293@lists.php.net to get a copy of this message | ||
Since the returned data seems to be still padded with extra characters, you can get *only* the
original data that was encrypted by str_replace()'ing the \x0 characters.
<?php
$decryptedData = str_replace("\x0", '', $encryptedData);
?>
----
Server IP: 209.41.74.194
Probable Submitter: 65.185.136.246
----
Manual Page -- http://www.php.net/manual/en/function.mcrypt-decrypt.php
Edit -- https://master.php.net/note/edit/78415
Del: integrated -- https://master.php.net/note/delete/78415/integrated
Del: useless -- https://master.php.net/note/delete/78415/useless
Del: bad code -- https://master.php.net/note/delete/78415/bad+code
Del: spam -- https://master.php.net/note/delete/78415/spam
Del: non-english -- https://master.php.net/note/delete/78415/non-english
Del: in docs -- https://master.php.net/note/delete/78415/in+docs
Del: other reasons-- https://master.php.net/note/delete/78415
Reject -- https://master.php.net/note/reject/78415
Search -- https://master.php.net/manage/user-notes.php