- Method crypt
This function crypts and verifies a short string (only the first 8 characters are significant).
The first syntax crypts the string
passwordinto something that is hopefully hard to decrypt.
The second syntax is used to verify
crypted_password, and returns
1if they match, and
Note that strings containing null characters will only be processed up until the null character.