May-26-2020, 02:15 PM
Hey guys so what i'm new to python and my brother challenged me with this.
Make a thing where it asks you 'sign up or login?'
if you pick sign up it asks for your username and password and when you put it in,
it saves it to a text document but it also hashes it.
then when the user trys to login, it will ask for thier name/pass. if the name/pass dont match or dont exist. it will say 'sorry thats not in our system :) please try again!' but if it is, its gonna hash the code and check it against the hashed stuff already so it works
This might be seeming a bit jumbled but basically i wanna know how to do this.
Ask signup or login ---> if signup. Ask for details and hash + save to a text file. ---> if login. hash what they put and check it against the system if its not existant or doesnt work, ask to retry. ---> after that if the stuff is good. allow acsess.
i know how to do some of it but im really stuck on how i would do this.
Please help :) Mian
Make a thing where it asks you 'sign up or login?'
if you pick sign up it asks for your username and password and when you put it in,
it saves it to a text document but it also hashes it.
then when the user trys to login, it will ask for thier name/pass. if the name/pass dont match or dont exist. it will say 'sorry thats not in our system :) please try again!' but if it is, its gonna hash the code and check it against the hashed stuff already so it works
This might be seeming a bit jumbled but basically i wanna know how to do this.
Ask signup or login ---> if signup. Ask for details and hash + save to a text file. ---> if login. hash what they put and check it against the system if its not existant or doesnt work, ask to retry. ---> after that if the stuff is good. allow acsess.
i know how to do some of it but im really stuck on how i would do this.
Please help :) Mian