Files
tldr/pages.zh/common/apg.md

24 lines
523 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# apg
> 创建任意复杂的随机密码。
> 更多信息:<https://manned.org/apg>。
- 创建随机密码默认密码长度为8
`apg`
- 创建一个至少包含1个符号S、1个数字N、1个大写字母C、1个小写字母L的密码
`apg -M SNCL`
- 创建一个16个字符的密码
`apg -m {{16}}`
- 创建一个最大长度为16的密码
`apg -x {{16}}`
- 创建一个不在字典中的密码(需要提供字典文件):
`apg -r {{path/to/dictionary_file}}`