crypt() - string
crypt() will return a hashed string using the
standard Unix DES-based algorithm or
alternative algorithms that may be available on the system.
Parameters :
str - The string to be hashed.
Caution
Using the CRYPT_BLOWFISH algorithm, will result
in the str parameter being truncated to a
maximum length of 72 characters. salt - An optional salt string to base the hashing on. If not provided, the
behaviour is defined by the algorithm implementation and can lead to
unexpected results.
Syntax
string crypt
( string $str
[, string $salt
] )
Example
Output / Return Value
Limitations
Alternatives / See Also
Reference