Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/genpwd.py @ 251:14bb7423445d
genpwd: module description
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 08 Feb 2025 13:38:33 +0100 |
| parents | 48f89d312309 |
| children | 0a2a162c5ad7 |
comparison
equal
deleted
inserted
replaced
| 250:48f89d312309 | 251:14bb7423445d |
|---|---|
| 2 # :- | 2 # :- |
| 3 # :Copyright: (c) 2018 Franz Glasner | 3 # :Copyright: (c) 2018 Franz Glasner |
| 4 # :Copyright: (c) 2025 Franz Glasner | 4 # :Copyright: (c) 2025 Franz Glasner |
| 5 # :License: BSD-3-Clause | 5 # :License: BSD-3-Clause |
| 6 # :- | 6 # :- |
| 7 r"""Generate passwords. | 7 r"""Generate random passwords. |
| 8 | 8 |
| 9 Usage: genpwd.py [ Options ] required_length | 9 Use :command:`genpwd.py --help' for a detailed help message. |
| 10 | |
| 11 Options: | |
| 12 | |
| 13 --type, -t web, web-safe, web-safe2, base64, base32, ascii85 | |
| 14 | |
| 15 :Author: Franz Glasner | |
| 16 | 10 |
| 17 """ | 11 """ |
| 18 | 12 |
| 19 from __future__ import (division, absolute_import, print_function) | 13 from __future__ import (division, absolute_import, print_function) |
| 20 | 14 |
