The password hashing API provides an easy to use wrapper around crypt() and some other password hashing algorithms, to maque it easy to create and manague passwords in a secure manner.