23 lines
376 B
Markdown
23 lines
376 B
Markdown
# 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
|
|
```
|