blob: 57266f997bd314681a097173232d47f695e8a834 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstrad59c3892019-11-28 20:53:39 +01002 string crypt(string str, int seed)
3 string crypt(string str, string seed)
Zesstra715ec202025-07-09 22:18:31 +02004 string crypt(bytes str, int seed)
5 string crypt(bytes str, string seed)
MG Mud User88f12472016-06-24 23:31:02 +02006
Zesstra715ec202025-07-09 22:18:31 +02007DESCRIPTION
8 Crypt the string <str> the first two characters
9 from the string <seed> as a seed. If <seed> is an integer, then
10 a random seed is used.
MG Mud User88f12472016-06-24 23:31:02 +020011
Zesstra715ec202025-07-09 22:18:31 +020012 The result has the first two characters as the seed.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra715ec202025-07-09 22:18:31 +020014 If you want to let enter password information without echo,
15 input_to() can be used with special argument.
MG Mud User88f12472016-06-24 23:31:02 +020016
Zesstra715ec202025-07-09 22:18:31 +020017SEE ALSO
18 md5(E), md5_crypt(E), sha1(E), hash(E), hmac(E)