Diceware (diceware v0.1.1)
A library that generates a Diceware passphrase.
A diceware passphrase builds a readable passphrase of 6 (or more) words from a list of 8,192 words.
Creating a passphrase combining readable words helps the user more easily memorize it.
Link to this section Summary
Functions
Generate a passphrase with at least 6 words. Takes an optional number of words parameter.
Writes the passphrase to the screen. Takes a keyword list of options. Supported options include
Link to this section Functions
Link to this function
generate(number \\ 6)
Specs
generate(number()) :: Diceware.Passphrase.t()
Generate a passphrase with at least 6 words. Takes an optional number of words parameter.
Link to this function
print(phrase, opts)
Specs
print(Diceware.Passphrase.t(), Keyword.t()) :: :ok
Writes the passphrase to the screen. Takes a keyword list of options. Supported options include:
- color: true | false use ANSI colors when printing - Each part of the passphrase will be a different color