aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: fff1066b85bf76d1017b97af307e2d0fb51cf654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# passphrasegen
A passphrase generator written in Go.

## Usage
Install by running `go install`, or build locally by running `go build`.

Generate a passphrase by running `passphrasegen`.

Optional arguments:
* -w number: number of words to use in the passphrase. Defaults to 4.
* Path to words file. Defaults to `/usr/share/dict/words`.

### Example

Generate a passphrase of 5 words using the american english wordlist:

    $ passwordgen -w 5 /usr/share/dict/american-english