Module crypt
[hide private]
[frames] | no frames]

Module crypt

Functions [hide private]
string
crypt(word, salt)
word will usually be a user's password.
Function Details [hide private]

crypt(word, salt)

 

word will usually be a user's password. salt is a 2-character string which will be used to select one of 4096 variations of DES. The characters in salt must be either ".", "/", or an alphanumeric character. Returns the hashed password as a string, which will be composed of characters from the same alphabet as the salt.

Returns: string