#password-generator #password #generator #binary #library #command-line-utilities

bin+lib passxgen

一个用 Rust 编写的随机密码/密码短语生成工具

1 个不稳定版本

0.3.0 2019 年 10 月 1 日

#1006身份验证

GPL-3.0-or-later

23KB
339

passxgen

一个用 Rust 编写的 Rust 版密码生成库/命令行应用程序

命令行使用

一般使用

USAGE:
    passxgen <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    help        Prints this message or the help of the given subcommand(s)
    password    Generate a password

用于密码生成

USAGE:
    passxgen password [FLAGS] <length>

FLAGS:
    -b               Begin with a letter
    -h, --help       Prints help information
    -l               Lowercase letters
    -N               No similar characters (eg. 0 and o and O)
    -n               Numbers
    -s               Symbols
    -u               Uppercase letters
    -V, --version    Prints version information

ARGS:
    <length>  

用于密码短语生成

USAGE:
    passxgen passphrase [FLAGS] [OPTIONS] <words>

FLAGS:
    -c, --capitalize    Capitalize each first letter of the word
    -h, --help          Prints help information
    -V, --version       Prints version information

OPTIONS:
    -d, --dictionary <dictionary>    Use an external file as a dictionary. Default is the short eff list
    -s, --separator <separator>      Separator between each word [default: .]

ARGS:
    <words>    Number of words to have in phrase

库使用

通过克隆并运行以下命令查看文档: cargo doc --lib --open 一旦我觉得文档覆盖范围可以接受,我会将其发布到 crates.io 以供使用。

编译

git clone https://gitlab.com/NateDogg1232/passgen-rs.git
cd passgen-rs
cargo build

贡献

找到问题

  • 在问题跟踪器中找到问题。
  • 通过评论表明你想要解决这个问题
  • 完成后提交拉取请求

我将尽力及时审查拉取请求和问题。

依赖关系

~3.5MB
~53K SLoC