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

Add a Patch

Pull Requests

Add a Pull Request

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-2018 The PHP Group
All rights reserved.
Last updated: Fri Jun 22 17:01:44 2018 UTC