Qualcuno mi spiega questo codice:

Codice PHP:

if (CRYPT_STD_DES == 1)
{
echo 
"Standard DES: ".crypt("hello world")."\n
"
;
}
else
{
echo 
"Standard DES not supported.\n
"
;
}

if (
CRYPT_EXT_DES == 1)
{
echo 
"Extended DES: ".crypt("hello world")."\n
"
;
}
else
{
echo 
"Extended DES not supported.\n
"
;


Come è possibile che il valore di uscita della funzione crypt cambi, se difatto nessun valore è stao modificato ne passato alla funzione crypt ?

Eppure i valori di uscita cambiano.
Ecco l'ouput:

codice:
Standard DES: $1$bV..IM0.$3F9rudcegTBnR3YftAL6r0
Extended DES: $1$xu5.mm1.$PliReI4N.zZk1.oSVNK4e1