Re: [PHP4BETA] Mcrypt problem.
| From: | Peter Kovacs | Date: | Wed, 26 Jan 2000 19:04:36 +0000 |
| Subject: | Re: [PHP4BETA] Mcrypt problem. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9436@lists.php.net to get a copy of this message | ||
Well, I hate replying to myself, but here's something wierd. If I look at
the same page in Internet explorer the whole string is there. So the
problem is almost definitely mcrypt inserting extra null values into the
string.
*sigh* Time to file a bug report I guess.
Peter
On Wed, 26 Jan 2000, Peter Kovacs wrote:
> Can somebody with mcrypt enabled verify this wierd behavior for me?
>
> <?php echo "This is a test " . mcrypt(MCRYPT_RC6, "SECRET KEY",
> mcrypt_ecb(MCRYPT_RC6, "SECRET KEY", "string", MCRYPT_ENCRYPT),
> MCRYPT_DECRYPT) . " lets see if it works."; ?>
>
> Instead of outputting "This is a test string lets see if it works." it
> outputs "This is a test string";
>
> I just want to make sure it's not my sometimes-flakey machine.
>
> Peter
>
> --------------------------------------------------
> Peter D. Kovacs KnowPost.com LLC
> Pb Engineer peter@knowpost.com
> --------------------------------------------------
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Pb Engineer peter@knowpost.com
--------------------------------------------------