Skip to content

C implementation of the diceware method of generating passphrases

Notifications You must be signed in to change notification settings

daniel-keogh/diceware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diceware

C implementation of the diceware method of generating passphrases.

Usage

$ make
$ ./diceware [options]

Options

Option Description
-h, --help Prints some help text.
-d, --delimiter <delimiter> Provide a character with which to separate the words. Defaults to a space.
-l, --length <length> The length of the passphrase. The default is six words.
-f, --file <file> Path to the input file.
-v, --verbose Prints additional information.

Example

$ ./diceware -l 5 -v

Roll 1:  55115      sough
Roll 2:  31131      gent
Roll 3:  35521      kp
Roll 4:  21241      coddle
Roll 5:  12436      argot

Your passphrase is: sough gent kp coddle argot