2 releases

0.1.1 Mar 22, 2020
0.1.0 Mar 22, 2020

#8 in #passwords

32 downloads per month

GPL-3.0 license

39KB
173 lines

hrp

hrp generates Human-Readable Passwords

hrp uses libsodium (through sodiumoxide) for cryptographically-secure psudeorandom number generation (CSPRNG).

hrp selects words from a list of the 10,000 most common medium-length (5-8 characters) English words, as determined by the Google Trillion Word Corpus.

hrp's default password format (WWWDDDD) results in 9,997,000,200,000,000 possible passwords.

License: GPL v3 Crates.io

Usage

hrp 0.1.1
Ian Brault <ian.brault@engineering.ucla.edu>

hrp generates human-readable passwords.

USAGE: hrp [OPTIONS] [FORMAT]

ARGS:
    <FORMAT>    Specifies the format of the generated password. Can be provided
                as a single string or multiple strings. Defaults to WWWDDDD.
                Acceptable format characters are (case-insensitive):
                    W - word
                    D - digit

OPTIONS:
    -h, --help       Prints help information
    -v, --version    Prints version information

Installation

hrp can be installed with cargo

  • Note that the binary file may be larger than expected, as it contains debug symbols. To remove these, run strip on the binary
$ cargo install hrp

Building

hrp can also be built from source

$ git clone https://github.com/ianbrault/hrp
$ cd hrp
$ cargo build --release
$ ./target/release/hrp --version
hrp 0.1.1

Dependencies

~7.5MB
~67K SLoC

w^