Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Password Generator
- Li0713Am
-
3 posts
Password Generator
I need help making a password generator.
I created the pseudocode, but I don't know the next steps to putting it into the program. Any help?
This algorithm is for someone with a birthday in the year 1989.
Step 1: Enter website name.
Step 2: Take the middle 2 letters of
the website, and change it
to the next letter of the
alphabet.
NOTE* if the word has an
odd amount of letters, use
the middle letter, and the
letter that comes AFTER it
going towards the end of
the word.
ex: i → j, r → s, c → d
Step 3: Ask the user what year they
were born in.
Step 4: Add this 4 digit number to
the end of the password.
Step 5: Change the last 2 digits of
the number (year you were
born in) into the special
character the number
matches with on the
keyboard.
ex: 4 → $, 2 → @, 7 → &
Step 6: Remove the 2nd LETTER in
the password.
Step 7: Add the underscore symbol
(_) to the end of the
password.
Step 8: Move the last 2 characters
of the password to the
beginning of the password.
Step 9: Display the password.
I created the pseudocode, but I don't know the next steps to putting it into the program. Any help?
This algorithm is for someone with a birthday in the year 1989.
Step 1: Enter website name.
Step 2: Take the middle 2 letters of
the website, and change it
to the next letter of the
alphabet.
NOTE* if the word has an
odd amount of letters, use
the middle letter, and the
letter that comes AFTER it
going towards the end of
the word.
ex: i → j, r → s, c → d
Step 3: Ask the user what year they
were born in.
Step 4: Add this 4 digit number to
the end of the password.
Step 5: Change the last 2 digits of
the number (year you were
born in) into the special
character the number
matches with on the
keyboard.
ex: 4 → $, 2 → @, 7 → &
Step 6: Remove the 2nd LETTER in
the password.
Step 7: Add the underscore symbol
(_) to the end of the
password.
Step 8: Move the last 2 characters
of the password to the
beginning of the password.
Step 9: Display the password.
Last edited by Li0713Am (Oct. 27, 2023 18:48:16)
- standing_rake
-
55 posts
Password Generator
What do you need help with? Generating the code for it? Setting it to a string? What are you really asking?
- ItBeJC
-
1000+ posts
Password Generator
They have the code written in text but don't know how to put it into actual code in scratch. What do you need help with? Generating the code for it? Setting it to a string? What are you really asking?
Edit: I'm gonna see if I can put it in code.
Last edited by ItBeJC (Oct. 30, 2023 17:48:03)
- cookieclickerer33
-
1000+ posts
Password Generator
Why can’t you just spam your keybord? Not everything needs to be done in code
- ItBeJC
-
1000+ posts
Password Generator
I've finished it.
https://scratch.mit.edu/projects/916424638
EDIT:
https://scratch.mit.edu/projects/916424638
EDIT:
Because they want to create this project. Plus I've already finished the code. Why can’t you just spam your keybord? Not everything needs to be done in code
Last edited by ItBeJC (Oct. 30, 2023 18:35:53)
- deck26
-
1000+ posts
Password Generator
Sounds very like some sort of school assignment to me! If so you should only be asking for guidance, not complete scripts. You really won't learn as much if you just copy someone else's work even if you take the time to understand it.
- ItBeJC
-
1000+ posts
Password Generator
Oops Sounds very like some sort of school assignment to me! If so you should only be asking for guidance, not complete scripts. You really won't learn as much if you just copy someone else's work even if you take the time to understand it.
- Ms_Momo
-
22 posts
Password Generator
hi. wut's this forum for? I just saw it on @ItBeJC's project so I decided to check it out
- amogus1123
-
500+ posts
Password Generator
“Help with Scripts - Need help with your Scratch project? Ask here!” - Scratch hi. wut's this forum for? I just saw it on @ItBeJC's project so I decided to check it out
- ItBeJC
-
1000+ posts
Password Generator
This forum is for help with coding. I come here a lot to see if anybody needs help. This specific post is for somebody who needs help making a password generator. hi. wut's this forum for? I just saw it on @ItBeJC's project so I decided to check it out
- thedogcoder440
-
100+ posts
Password Generator
WORKAROUND:
qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890~!@#$%^&*()_+-={\}:";'?/>.,<
Put that in your variable ^W^
EDIT: nvm…
when green flag clicked
ask [how many characters?] and wait
set [characters v] to [all the characters (see below script(dont actually put this in your variable xD))]
set [password v] to []
repeat (answer)
set [password v] to (join (password) (letter (pick random (1) to (93)) of (characters)))
end
qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890~!@#$%^&*()_+-={\}:";'?/>.,<
Put that in your variable ^W^
EDIT: nvm…
Last edited by thedogcoder440 (Nov. 2, 2023 22:30:50)
- Discussion Forums
- » Help with Scripts
-
» Password Generator