How are “random” passwords generated

1.08K 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

For the most part, they aren’t random. Computers can’t natively produce anything random. Most of the time this isn’t a big deal because no one is going to reverse engineer the algorithm the computer used to create the data – for a password generator, whatever seed the computer used creates data random _enough_.

For situations where you **truly** need random data, the computer will sample an outside data source assumed to be random. For example, it might take a snapshot of atmospheric data or a [lava lamp wall](https://www.cloudflare.com/learning/ssl/lava-lamp-encryption/).

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