A random password generator is software program or hardware device that takes input from a random or pseudo-random number generator and instantly generates a password. Random passwords can be generated by hand, using simple sources of randomness such as dice or coins, or they can be produced utilizing a computer system.