SYNOPSIS

string md5_crypt( string str, int seed)
string md5_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.

The efun uses the MD5 algorithm for encryption, and the result is compatible with the Apache password encryption.

If you want to let enter password information without echo, input_to(E) can be used with special argument.

HISTORY

  • introduced (3.3)