How To Generate Cryptographically Secure Passwords in Python
In five lines of code
Published in
4 min readMar 2, 2023
Python is fun, really.
In five lines of code, you could generate hard-to-crack passwords — thanks to the secret module.
You will learn two things. One is how to generate random passwords in Python without using the secret module. These types of passwords could be easy to…