mirror of
https://github.com/php/php-src.git
synced 2024-10-16 05:52:36 +00:00
13 lines
271 B
Plaintext
13 lines
271 B
Plaintext
|
--TEST--
|
||
|
Bug #50052 (Different Hashes on Windows and Linux on wrong Salt size)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$salt = b'$1$f+uslYF01$';
|
||
|
$password = b'test';
|
||
|
echo $salt . "\n";
|
||
|
echo crypt($password,$salt) . "\n";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
$1$f+uslYF01$
|
||
|
$1$f+uslYF0$orVloNmKSLvOeswusE0bY.
|