Created
October 2, 2018 05:27
-
-
Save dander/6926e7e41fdf6c62d3faa2545e8259db to your computer and use it in GitHub Desktop.
simple GUI app which generates random passphrases from the EFF dice word list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Red [ | |
Title: "Diceword passphrase generator" | |
Needs: 'View | |
] | |
word-list: https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt | |
words: parse load-thru word-list [collect some [keep word! | skip]] | |
random/seed now/precise | |
view [ | |
text "generate" num: field 50x23 default 5 text "words" | |
return | |
text "passphrase:" output: field 300x23 "" | |
button 23x23 "📋" [write-clipboard output/text] | |
button 23x23 "🔄" [ | |
output/text: form collect [loop num/data [keep random/only words]] | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment