Diceware.Passphrase (diceware v0.1.1)

Link to this section Summary

Functions

Return a string of the password with ANSI colors for printing to the console

Link to this section Types

Specs

t() :: %Diceware.Passphrase{
  number_of_words: number(),
  phrase: String.t() | nil,
  words: list()
}

Link to this section Functions

Link to this function

with_colors(passphrase)

Specs

with_colors(t()) :: String.t()

Return a string of the password with ANSI colors for printing to the console