3 个版本 (破坏性更新)
0.5.0 | 2022年10月25日 |
---|---|
0.4.0 | 2022年9月22日 |
0.3.0 | 2022年9月21日 |
271 in #密码
19KB
237 代码行
RustGenPass
Rust 中 SuperGenPass 工具的实现。
将主密码哈希成针对每个网站唯一的复杂密码。
使用说明
rustgenpass 0.5.0
Generate a hashed password similar to SuperGenPass.
USAGE:
rgp [OPTIONS] --domain <DOMAIN>
OPTIONS:
-p, --password <PASSWORD> Master password, if not given, reads from stdin
-s, --secret <SECRET> Secret added to the master password
-d, --domain <DOMAIN> Domain / URL to generate password for
-l, --length <LENGTH> Length of generated password, min: 4, max: 24 [default: 10]
-r, --rounds <ROUNDS> Number of hash rounds [default: 10]
-k, --keep-subdomains Don't remove subdomains from domain
-P, --passthrough Passthrough domain unmodified to hash function
-H, --hash <HASH> Hashing method to use [default: md5] [possible values: md5, sha512]
-h, --help Print help information
-V, --version Print version information
许可证
版权所有 2022 Olle Wreede
在 MIT 许可证 下发布。
依赖项
~4–14MB
~151K SLoC