How are “random” passwords generated

1.07K viewsMathematicsOther

I mean if it’s generated by some piece of code that would imply it follows some methodology or algorithm to come up with something. How could that be random? Random is that which is unpredictable.

In: Mathematics

20 Answers

Anonymous 0 Comments

Random numbers can be pseudorandom, which means they are generated by some algorithm which is deterministic (i.e. if it’s reset it will produce the same sequence of numbers). Pseudorandom generators often initialize their state with something derived from some noise information, such as the program start time timestamp. This is called seeding and makes them almost truly random (assuming that initial noise information is truly random). Modern processors have a hardware random number generator (HRNG) module, which often uses physical / quantum effects. Modern Intel and AMD processors support RDRAND instruction which generates a random number.

You are viewing 1 out of 20 answers, click here to view all answers.