Skip to main content

crypt

Discworld efun help

crypt

string crypt(string str, string seed);

Crypt the string str using two characters from seed as a seed. If seed is 0, then random seed is used.

The result has the first two characters as the seed.