php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: blueeye at mail dot blueeye dot idv dot tw
New email:
PHP Version: OS:

 

 [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.

    

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-19 01:57 UTC] derick@php.net
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 17:01:30 2025 UTC