|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19486 crypt return weird output
Submitted: 2002-09-18 20:11 UTC Modified: 2002-09-19 01:57 UTC
From: blueeye at mail dot blueeye dot idv dot tw Assigned:
Status: Not a bug Package: *Encryption and hash functions
PHP Version: 4.2.3 OS: windows 2000
Private report: No CVE-ID: None
 [2002-09-18 20:11 UTC] blueeye at mail dot blueeye dot idv dot 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.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-19 01:57 UTC]
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

Thank you for your interest in PHP.

You're using the salt in a wrong way, read the notes @

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Oct 25 08:01:24 2020 UTC