#19486 [NEW]: crypt return weird output

From: Date: Thu, 19 Sep 2002 01:11:43 +0000
Subject: #19486 [NEW]: crypt return weird output
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19691@lists.php.net to get a copy of this message
From:             blueeye@mail.blueeye.idv.tw
Operating system: windows 2000
PHP version:      4.2.3
PHP Bug Type:     *Encryption and hash functions
Bug description:  crypt return weird output

    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 bug report at http://bugs.php.net/?id=19486&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19486&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19486&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19486&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19486&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19486&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19486&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19486&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19486&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19486&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19486&r=globals



Thread (2 messages)

« previous php.bugs (#19691) next »