SYNOPSIS

string crypt( string str, int seed)
string crypt( string str, string seed)

DESCRIPTION

Crypt the string str the first two characters from the string seed as a seed. If seed is an integer, then a random seed is used.

The result has the first two characters as the seed.

If you want to let users enter password information without echo, input_to(E) can be used with the INPUT_NOECHO flag.