string crypt(str, 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.