Discuss Scratch

Li0713Am
New Scratcher
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.

Last edited by Li0713Am (Oct. 27, 2023 18:48:16)

standing_rake
Scratcher
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?
Li0713Am
New Scratcher
3 posts

Password Generator

I need help generating a code for it.
ItBeJC
Scratcher
1000+ posts

Password Generator

standing_rake wrote:

What do you need help with? Generating the code for it? Setting it to a string? What are you really asking?
They have the code written in text but don't know how to put it into actual code in scratch.

Edit: I'm gonna see if I can put it in code.

Last edited by ItBeJC (Oct. 30, 2023 17:48:03)

cookieclickerer33
Scratcher
1000+ posts

Password Generator

Why can’t you just spam your keybord? Not everything needs to be done in code
ItBeJC
Scratcher
1000+ posts

Password Generator

I've finished it.
https://scratch.mit.edu/projects/916424638

EDIT:

cookieclickerer33 wrote:

Why can’t you just spam your keybord? Not everything needs to be done in code
Because they want to create this project. Plus I've already finished the code.

Last edited by ItBeJC (Oct. 30, 2023 18:35:53)

deck26
Scratcher
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
Scratcher
1000+ posts

Password Generator

deck26 wrote:

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.
Oops
Ms_Momo
Scratcher
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
Scratcher
500+ posts

Password Generator

Ms_Momo wrote:

hi. wut's this forum for? I just saw it on @ItBeJC's project so I decided to check it out
“Help with Scripts - Need help with your Scratch project? Ask here!” - Scratch
ItBeJC
Scratcher
1000+ posts

Password Generator

Ms_Momo wrote:

hi. wut's this forum for? I just saw it on @ItBeJC's project so I decided to check it out
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.
thedogcoder440
Scratcher
100+ posts

Password Generator

WORKAROUND:

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)

Li0713Am
New Scratcher
3 posts

Password Generator

Thank you guys!
alt1032
Scratcher
13 posts

Password Generator

Li0713Am wrote:

Thank you guys!
Can I Comment you?

Powered by DjangoBB