Skip to content

Instantly share code, notes, and snippets.

@GlowSquid
Created July 18, 2019 19:34
Show Gist options
  • Save GlowSquid/7aa05b0c13b7442ed7443b6e05fc02a7 to your computer and use it in GitHub Desktop.
Save GlowSquid/7aa05b0c13b7442ed7443b6e05fc02a7 to your computer and use it in GitHub Desktop.
Strong Password Generator
#!/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