Take your pick from the available algorithms and seed them with any pseudo random number generator (PRNG) like rand. Perl modules are available for the following algorithms:
Blowfish, DES, TripleDES, IDEA.
Richard
There are three types of people in this world, those that can count and those that cannot. Anon