|
1 | 1 | # Effindice 🎲🎲🎲🎲🎲 |
2 | 2 |
|
3 | | - |
| 3 | +[Latest release on github pages](https://replete.github.io/effindice/). |
4 | 4 |
|
| 5 | + |
5 | 6 |
|
6 | 7 | ## Browser-based Passphrase generator |
7 | 8 |
|
8 | | -This is a single page run-in-browser web application that generates passphrases using the [EFF Dice-Based Passphrase wordlist and methodology](https://www.eff.org/dice) .. for lazy people. |
9 | | - |
10 | | -It uses [this](https://github.com/sethblack/javascript-fortuna) javascript implementation of Fortuna pRNG as a cryptographically secure implementation as well as time-delays for each 'dice roll' to affect randomness. |
11 | | - |
12 | | -I think this is better than the xkcd passphrase generator because it uses a better method and is completely self-contained with zero web requests. |
13 | | - |
14 | | -## Using this application |
15 | | - |
16 | | -[Latest release on github pages](https://replete.github.io/effindice/), published automatically. |
17 | | - |
18 | | -It's a single html file. Download the .html file onto your computer and run it locally. There are no web requests except for a stupid github shortcut icon to the link back here. Also no javascript frameworks or anything like that. I know right? |
19 | | - |
20 | | -Tested in latest Chrome / Firefox |
21 | | - |
22 | | -## Implementation |
23 | | - |
24 | | -I hacked it together without any frameworks, it does use a generator function and other modern Javascript features. It's a hack, but whatever. |
| 9 | +This single HTML file is a self-contained run-on-your-desktop passphrase generator. |
25 | 10 |
|
26 | | -I tried a few pRNGs and experimented with online 'truly random' sources of RNG data. Quickly realized what a bad idea that was, but anyhow, Fortuna seems to do the trick. |
| 11 | +I came across [EFF Dice-Based Passphrases](https://www.eff.org/dice) and didn't have any dice handy, so I hacked this together. |
27 | 12 |
|
28 | | -Fortuna's minified script is 35KB. That's most of the payload just for random number generation. Bigger is better, I only wish it was 10MB. |
| 13 | +## TODO |
29 | 14 |
|
30 | | -## Demo |
31 | | -[Latest release on github pages](https://replete.github.io/effindice/), published automatically. |
| 15 | +Reduce predictability with entropy accumulation function |
0 commit comments