ScratchData LogoScratchData
Back to ScienceSean's profile

Password Generator

SCScienceSean•Created May 2, 2018
Password Generator
17
17
1575 views
View on Scratch

Instructions

Click the button to generate the password. These passwords are very secure, and easy to remember. One of my favorites is "neckstrokerepair". Oops, you can't use that one now.

Description

I got this idea from the XKCD comic strip "Password Strength" which you can access here: https://xkcd.com/936/ The list of words I found on this site: http://www.talkenglish.com/vocabulary/top-1500-nouns.aspx And to remove all the extra information after copying and pasting the words in, I used this processing script: ────────────────────────────── String[] words; String[] out = {"[null]"}; // The output. void setup(){ words = loadStrings("Untitled 3.txt"); // Paste in the filename. noLoop(); } void draw(){ for(int i = 0;i<words.length;i++){ int j = 0; String word = ""; while(!(words[i].charAt(j) == ' ')){ word = word + words[i].charAt(j); j++; } out = append(out, word); println(out[i]); } saveStrings("out.txt", out); // You can change this. exit(); } ────────────────────────────── After that, I could simply right click on the list, select "import" in scratch and import the file.

Project Details

Project ID220237152
CreatedMay 2, 2018
Last ModifiedNovember 1, 2018
SharedMay 2, 2018
Visibilityvisible
CommentsAllowed