Skip to content

Instantly share code, notes, and snippets.

@ObjectBoxPC
Created May 24, 2021 21:58
Show Gist options
  • Save ObjectBoxPC/89206ca79bb26fdc2112233ede121d9d to your computer and use it in GitHub Desktop.
Save ObjectBoxPC/89206ca79bb26fdc2112233ede121d9d to your computer and use it in GitHub Desktop.
Quickly generate random passwords
#!/usr/bin/env python3
import secrets
entropy_bytes = 16
print(secrets.token_urlsafe(entropy_bytes))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment