Go to file
2021-09-16 20:33:56 +08:00
dwg8k.py Initial commit 2021-09-16 20:33:56 +08:00
dwg.py Initial commit 2021-09-16 20:33:56 +08:00
pinyin8k.wordlist Initial commit 2021-09-16 20:33:56 +08:00
pinyin.wordlist Initial commit 2021-09-16 20:33:56 +08:00
poetry.lock Initial commit 2021-09-16 20:33:56 +08:00
pyproject.toml Initial commit 2021-09-16 20:33:56 +08:00
README.md Initial commit 2021-09-16 20:33:56 +08:00

Diceware Generator

Requirement

  • python3
  • poetry
$ poetry install

Usage

$ poetry shell
# Use random.org
$ python dwg.py     # by default, it will generate 6-word password
$ python dwg.py 7   # generate 7-word password
# Use urandom
$ python dwg8k.py   # by default, it will generate 6-word password
$ python dwg8k.py 7 # generate 7-word password