Edit report at http://bugs.php.net/bug.php?id=54721&edit=1

 ID:                 54721
 Updated by:         paj...@php.net
 Reported by:        os at irj dot ru
 Summary:            crypt function
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            *Encryption and hash functions
 Operating System:   Windows 7 x64
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

The browsers have nothing to do with the server side running code.
Please try 

using the CLI interface (cmd line) to confirm the results.


Previous Comments:
------------------------------------------------------------------------
[2011-05-12 18:00:38] os at irj dot ru

Sorry, OS is Windows 7 x64 with 8GB RAM, CPU Core I5 760 (4 cores).

------------------------------------------------------------------------
[2011-05-12 17:50:21] os at irj dot ru

Description:
------------
Win 7 x64

PHP 5.3.6 x86 MSVC9 (Visual C++ 2008) Thread Safety AS Apache 2.2
Module

Apache/2.2.17 x86 NO SSL



Test script:
---------------
<pre>

<?php 

echo crypt("dev", '$1$dW0.is5.$10CH101gGOr1677ZYd517.'); 

?>

Expected result:
----------------
$1$dW0.is5.$10CH101gGOr1677ZYd517.

Actual result:
--------------
FireFox 4:

$1$dW0.is5.$fELOCg/o4M4JSqjT0FAaZ1



IE 9 with meny F5 refresh actual result is

Result 1: $1$dW0.is5.$PAX1vDQNMC0Ag2U3joEb71

Result 2: $1$dW0.is5.$fELOCg/o4M4JSqjT0FAaZ1

in cycle



If I reload apache 2 service hash result are changing to other, etc

FF: $1$dW0.is5.$j9t0S3va.9brcE2kIILGx1

IE: $1$dW0.is5.$d2QAXWA.uqHWaY1KopvYr.,
$1$dW0.is5.$j9t0S3va.9brcE2kIILGx1


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=54721&edit=1

Reply via email to