crypt() is the password encryption function. It is based on the Data Encryption Standard algorithm with variations intended (among other things) to discourage ...
crypt() is the password hashing function. It is based on the Data Encryption Standard algorithm with variations intended (among other things) to discourage use ...