#passphrase-generator #password-generator #secure-password #security #password-score

app passguard

这是一个基于 Rust 的密码和短语生成器,提供了一种灵活的解决方案来创建安全、可定制的密码。支持密码大小和包含大写字母、数字和符号。

1 个不稳定版本

0.1.0 2024 年 7 月 6 日

#145 in 身份验证

MIT 许可证

11KB
222 代码行

PassGuard

这是一个基于 Rust 的密码和短语生成器,提供了一种灵活的解决方案来创建安全、可定制的密码。支持密码大小和包含大写字母、数字和符号。

功能

  • 生成包含小写字母、大写字母、数字和符号的密码。
  • 生成包含随机单词的短语。
  • 自定义密码长度。
  • 选择生成方法:密码或短语。
  • 显示生成的密码强度。

安装

使用 crates.io 安装

cargo install passguard

示例用法

passguard
Choose a method (password/passphrase): passphrase
Show password strength? (y/n): y
---------------------------------
Enter the minimum word length: 5
Enter the maximum word length: 5
Enter the number of words in the passphrase: 5
Enter the character to separate the words: -
Include uppercase letters? (y/n): y
Include numbers? (y/n): y
---------------------------------
Your password: Y6nwl-Rs3ep-4uoxr-Zgow4-Q9ykl
---------------------------------
Password strength: Very strong (Score: 4/4)
Crack time (Online with throttling (100 per hour)): centuries

依赖项

~5–7.5MB
~122K SLoC