dmuth/diceware

Increase number of dice per roll

dmuth opened this issue · 8 comments

dmuth commented

This is a continuation of #2, that I am splitting off into its own issue.

For this issue, I'd like to investigate the following:

  • Generating Javascript files which contain arrays of 46,656 words (6 dice), 279,936 words (7 dice), and 1,679,616 words (8 dice). This will involve modifying the PHP code which generates taht Javascript.
  • Adding functionality into the Diceware Javascript that will allow me to specify how many dice rolls per word (and therefore, which wordlist file to load) so that I can...
  • Test the performance of Diceware on desktop and mobile platforms with the different wordlist sizes on both Wifi, LTE, and 3G networks.
  • Optionally create a modal of some kind that is displayed while the wordlist is loading.
dmuth commented

Updated PHP code and shell scripts to generate separate word lists for 6 and 7 dice rolls. 8 dice rolls is a non-starter at this time because my main wordlist is only 333,000 thousand words.

That said, 8 dice rolls may not be tenable, because even at 7 dice rolls, I'm seeing some really unusual words. Like "zergling"--I know what a zergling is, but a layperson will not, and that is my target audience for this app.

dmuth commented

At this point, there is now debug support for rolling 6 and 7 dice per roll, but I am not entirely sure if that is a direction I want to go, because the words do get obscure. That said, I've added instructions in the index.html page on how to use that functionality, in case anyone would like to do so.

Hey, just stumbled on here. Diceware being awesome and all! Although I use diceware from terminal, I thought your project was interesting and website UI was great for "normal" people 😉

If you are worried about obscure words, EFF had released their diceware list which contains really easy to remember words compared to the "standard" list. I have personally used this list for a while, it really is easy to remember.

You might design an option to choose the list the user wants. Choosing the EFF list generates easier to remember words so generating a really long passphrase will not be a huge problem.

dmuth commented

Hey @CollectorGeneral, sorry for taking so long to respond--I was away on travel.

I just took a look through that page and read through their wordlist, and this looks fantastic! I'm going to try integrating it and will track my progress in Issue #6.

Thanks again,

-- Doug

@dmuth please release your 6 dice or 7 dice wordlist, it would be very useful for those who are curious

dmuth commented

You can use this script: https://github.com/dmuth/diceware/blob/master/wordlist/create-wordlist.php to create a wordlist based on additional numbers of dice, based on the 1/3rd most common English words.

-- Doug

@dmuth I meant the actual data and not the script that generates the data (for the sale of replication)

dmuth commented

Oh! The raw wordlist for that script lives at https://github.com/dmuth/diceware/tree/master/wordlist

-- Doug