Blame
| e54e99 | Anonymous | 2026-04-13 06:58:27 | 1 | # Memorable Passwords |
| 2 | ||||
| 3 | Do you want secure passwords that are easy to remember? |
|||
| 4 | ||||
| 5 | Pick a *few words* instead of a *lot of characters*. |
|||
| 6 | ||||
| 7 | To generate such passwords automatically. |
|||
| 8 | ||||
| 9 | Inspired by this famous XKCD comic: |
|||
| 10 | ||||
| 6e4930 | Anonymous | 2026-04-13 06:59:11 | 11 |  |
| e54e99 | Anonymous | 2026-04-13 06:58:27 | 12 | |
| 13 | ||||
| 14 | ## Prerequisites |
|||
| 15 | ||||
| 16 | - Python 2.7+ or 3.4+ |
|||
| 17 | ||||
| 18 | ## Install |
|||
| 19 | ||||
| 20 | ``` bash |
|||
| 21 | pip install xkcdpass |
|||
| 22 | ``` |
|||
| 23 | ||||
| 24 | ## Running |
|||
| 25 | ||||
| 26 | Generate 10 passwords of 5 words each, separated by a dash: |
|||
| 27 | ||||
| 28 | ``` bash |
|||
| 29 | xkcdpass --count=10 --delimiter='-' --numwords=5 |
|||
| 30 | ``` |
|||
| 31 | ||||
| 32 | To use a different word-list (Italian, in the example) |
|||
| 33 | ||||
| 34 | ``` bash |
|||
| 35 | xkcdpass --count=10 --delimiter='-' --numwords=5 --wordfile=ita-wiki |
|||
| 36 | ``` |
