Diceware
Generate passphrases using the Diceware method.
Installation
Add diceware to your list of dependencies in mix.exs:
def deps do
[
{:diceware, "~> x.x.x"}
]
endUsage
Ask for a new password and get a Diceware.Passphrase back
iex> passphrase = Dicware.generate()
%Diceware.Passphrase{}
iex> passphrase.phrase
boundfreakolavwho3a9zSpecify how many words to use when building the passphrase
Diceware.generate(count: 10)
barrebeastcrissethanfrancmabelswigswineuz57thOfficial docs available on hex.pm