Last active
June 15, 2023 03:13
-
-
Save nam20485/ce4eec533f8355830d8054aeebdc9a1f to your computer and use it in GitHub Desktop.
Python 3 generate secret key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c 'import random; result = "".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)]); print(result)' | |
#python -c 'import random; print "".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)])' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment