2 unstable releases
0.2.0 | Sep 29, 2024 |
---|---|
0.1.0 | Sep 23, 2024 |
#482 in Authentication
67 downloads per month
Used in passgen-cli
3.5MB
1.5K
SLoC
Passgen Rust
Rust implementation of Passgen, a passphrase generator with a regular-expression-like syntax. It has some features that make it interesting:
- Generate arbitrary randomized passphrases from a format string
- Choose random words from a wordlist for XKCD-style passphrases
- Use a markov-chain to generate high-entropy pronounceable words
- Calculates the entropy for every generated passphrase
- Can define presets for commonly used passphrase patterns
- Can use it in master-passphrase mode, where it will generate deterministic passphrases for different domain-account pairs.
Installation
If you have a Rust installation, you can use Cargo to install it for your user account:
cargo install passgen-rs
Usage
Todo.
License
MIT.
lib.rs
:
Passphrase generator with a regular-expression-like syntax
This crate is an implementation of Passgen, which can generate secure, random passphrases from a pattern string that has a syntax similar to regular expressions.
Syntax
Examples
Dependencies
~7–16MB
~231K SLoC