Skip to main content

crypt

Discworld driver help

crypt

Name

crypt() - encrypt a string

Synopsis

string crypt( string str, string seed );

Description

Crypt the string `str' using the first 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.

See also