KeyGen is a generator for random keys and passwords.