#password #security #hash #cli #supergenpass

bin+lib rustgenpass

Generate a hashed password similar to SuperGenPass

3 releases (breaking)

0.5.0 Oct 25, 2022
0.4.0 Sep 22, 2022
0.3.0 Sep 21, 2022

#1922 in Command line utilities

MIT license

237 lines


Cross-compile Crates.io docs.rs Crates.io

An implementation in Rust of the SuperGenPass utility.

Hash a master password into unique, complex passwords specific for each website.

Documentation on docs.rs


rustgenpass 0.5.0
Generate a hashed password similar to SuperGenPass.

    rgp [OPTIONS] --domain <DOMAIN>

  -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


Copyright 2022 Olle Wreede

Released under the MIT license.


~171K SLoC