#19486 [Opn->Bgs]: crypt return weird output
| From: | derick@php.net | Date: | Thu, 19 Sep 2002 06:57:50 +0000 |
| Subject: | #19486 [Opn->Bgs]: crypt return weird output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19706@lists.php.net to get a copy of this message | ||
ID: 19486
Updated by: derick@php.net
Reported By: blueeye@mail.blueeye.idv.tw
-Status: Open
+Status: Bogus
Bug Type: *Encryption and hash functions
Operating System: windows 2000
PHP Version: 4.2.3
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
You're using the salt in a wrong way, read the notes @ php.net/crypt
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-09-18 20:11:43] blueeye@mail.blueeye.idv.tw
I know the situation for a long time. But I can't find any
information about it.
in PHP 4.X.X in FreeBSD:
crypt('111', 1) returns '1$D8klitcq/sA'
in PHP 4.0.6 in Windows 2000 (Apache 1.3.X or IIS 5):
crypt('111', 1) returns '1$D8klitcq/sA'
but in PHP 4.1.X/4.2.X after 4.0.6 in Windows 2000(Apache 1.3.X or IIS
5):
crypt('111', 1) returns '1$NMxLgKkWMkY'
That's weird.
Thanks for your reading.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19486&edit=1