DEV Community

Discussion on: Why you should never use random module for generating passwords.

Collapse
 
jonrandy profile image
Jon Randy 🎖️

true random numbers come from "high entropy" seeds

This statement is funny - it contradicts itself. If something were truly random - it would be dependent upon nothing. True randomness is a concept, not a reality

Collapse
 
vaarun_sinha profile image
Vaarun Sinha

Yeah, that is correct true randomness is nearly impossible. But because of high entropy seeds, the random numbers generated by the secrets module are less predictable than the numbers generated by the random module.

I quoted the reddit post that I also linked up in last.
Thanks for taking time to read the article.