Skip to content

Instantly share code, notes, and snippets.

@yaunj
yaunj / xkcdpass.py
Last active September 19, 2019 10:45
xkcd style password generator
#!/usr/bin/env python
"""Generate a password in similar vein to XKCD 936"""
from __future__ import print_function, unicode_literals
import random
import string
class XKCDPasswordGenerator:
"""Generate a password in similar vein to XKCD 936"""

Keybase proof

I hereby claim:

  • I am yaunj on github.
  • I am runeh (https://keybase.io/runeh) on keybase.
  • I have a public key whose fingerprint is 5107 7009 A4ED 2980 FF2E 368E B9BB 4CBD A8A8 9D0C

To claim this, I am signing this object: