Małą lekcja manuala

crypt -- One-way string encryption (hashing)
Czyli:
crypt -- W 1 strone koduje ciag znakow (haszuje)
Tlumacz:
crypt -- koduje tak haslo ze nie da sie do rozkodowac (hashuje)
crypt - przykład
<?php
$password = crypt(\"My1sTpassword\"); // let salt be generated
# You should pass the entire results of crypt() as the salt for comparing a
# password, to avoid problems when different hashing algorithms are used. (As
# it says above, standard DES-based password hashing uses a 2-character salt,
# but MD5-based hashing uses 12.)
if (crypt($user_input, $password) == $password) { echo \"Password verified!\"; }
?>
See also
md5() [...]
Zobacz takrze
md5() ...
crypt jest podbne do md5 hasuja dany ciag znakó tak ze nie da sie go rozkodowac