Passgen documentation
Passgen generates random sequences from a pattern written in a dialect of regular expressions. It is built for generating passphrases that are secure and, if you want them to be, memorable.
This documentation covers the passgen command-line tool. If you are new, start
with Usage. If you have not installed Passgen yet, see
Install.
Usage
How to use the passgen command-line tool: presets, patterns, and the most useful flags.
Syntax
Reference for the pattern syntax, a dialect of regular expressions adapted for generating random data.
Presets
The patterns that are built into Passgen, and how to define your own.
Markov chains
Made-up words that can be pronounced, and carry more entropy than real ones.
Configuration
Define your own wordlists, presets, master passphrases and logins in a configuration file.
Master passphrase
Generate the same passphrase every time, derived from a single master passphrase.
Entropy
What entropy is, how Passgen measures it, and how much of it you need.
Randomness
Where Passgen gets its random data from, and how to change it.
WebAssembly
Run Passgen as a sandboxed WebAssembly executable on any operating system.