Created
July 18, 2019 19:34
-
-
Save GlowSquid/7aa05b0c13b7442ed7443b6e05fc02a7 to your computer and use it in GitHub Desktop.
Strong Password Generator
This file contains hidden or 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
#!/usr/bin/env python3 | |
import string | |
from random import randint, choice | |
letters = string.ascii_letters | |
special = 'ÆÄØÖÅËÏÖÜŸÂÊÎÔÛŶÃẼĨÕŨỸæäøöåëïöüÿâêîôûŷãẽĩõũỹ' | |
digits = string.digits | |
symbols = string.punctuation | |
chars = letters + special + digits + symbols | |
min_length = 128 | |
max_length = 256 | |
password = "".join(choice(chars) for x in range(randint(min_length,max_length))) | |
print(password) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment