Skip to content

Instantly share code, notes, and snippets.

@NurElHuda
Created September 12, 2020 13:39
Show Gist options
  • Save NurElHuda/998baef282bd30b63645aa0040078381 to your computer and use it in GitHub Desktop.
Save NurElHuda/998baef282bd30b63645aa0040078381 to your computer and use it in GitHub Desktop.
one_line_python_script_random_key_generation_in_bash.sh
python -c 'import random;import string; print("".join(random.SystemRandom().choice(string.digits + string.ascii_letters + string.punctuation) for _ in range(50)))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment