github.com/aloli-crystal/diceware
0.1.5 / published May 7, 2026 / repository
Diceware passphrase generator in pure Crystal — generates memorable passphrases with measurable entropy by drawing N words from a wordlist of 7776 (= 6^5) entries. Supports Random::Secure as default RNG and manual dice input (heritage of the historical Diceware "5 dice / 6 faces" protocol designed by Arnold Reinhold in 1995). Embeds two wordlists out of the box: * `eff_long` (English, 7776, EFF 2016 reference) * `fr_mbelivo_5d` (French, 7776, mbelivo derivative) Used by `crystal-secrets` for master passphrase generation.