Skip to content

Commit 0c7143b

Browse files
authored
Simplify
1 parent 2994614 commit 0c7143b

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

README.md

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
# Effindice 🎲🎲🎲🎲🎲
22

3-
![Screen Shot 2022-08-26 at 21 41 12](https://user-images.githubusercontent.com/812139/186987746-581c6af4-cc26-4491-b186-4eafa0048e5c.png)
3+
[Latest release on github pages](https://replete.github.io/effindice/).
44

5+
![Screen Shot 2022-08-26 at 21 41 12](https://user-images.githubusercontent.com/812139/186987746-581c6af4-cc26-4491-b186-4eafa0048e5c.png)
56

67
## Browser-based Passphrase generator
78

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.
2510

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.
2712

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
2914

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

Comments
 (0)