1 个不稳定版本
0.1.0 | 2022年8月4日 |
---|
#694 in 身份验证
45KB
157 代码行
xkcd 密码生成器
生成易于记忆的密码。灵感来源于关于密码的 xkcd 网络漫画
单词列表
该项目使用 EFF(电子前沿基金会)提供的随机短语单词列表。默认使用 EFF 的长单词列表,尽管他们提供所有三个单词列表。
安装
使用 cargo
安装 xkpass
cargo install xkpass
或者,从源代码构建
cargo build --release
用法
USAGE:
xkpass [OPTIONS]
OPTIONS:
-c, --case <CASE> Case to use on the words [default: lower] [possible values: upper, lower, capitalized,
mixed]
-h, --help Print help information
-l, --list <LIST> List of words to use for random password generation [default: long] [possible values:
long, short1, short2]
-n, --number <NUMBER> Number of words to include in the password [default: 6]
-s, --separator <SEPARATOR> A separator to use between words [default: " "]
-V, --version Print version information
许可证
xkpass
采用 MIT 许可证或 Apache 许可证 2.0 的条款。
依赖项
~5–17MB
~195K SLoC