Have somebody a simple login script for php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Have somebody a simple login script for php?

28th Apr 2018, 5:48 PM
Emrullah
Emrullah - avatar
7 Answers
+ 3
I have plenty. You have a problem with something?
28th Apr 2018, 6:13 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Yes. But notice that there's no database or encryption for passwords
28th Apr 2018, 6:56 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Okay. Can you show me how do you hash and store your passwords?
28th Apr 2018, 7:02 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Toni Isotalo would use hashing instead of encryption tho ;)
28th Apr 2018, 6:57 PM
***
*** - avatar
+ 1
Boem Shakalaka Do NOT, I repeat, DO NOT use SHA512 or other standard hashing algorithms. They are too fast, if a hacker gets a hashed password, he can try up to 50 Billion combinations a second. It's not going to hold up very long. Use bcrypt. It's better, slower, and waaaayy more secure.
29th Apr 2018, 9:45 AM
Private [GER]
Private [GER] - avatar
0
Toni Isotalo i have a login script but the website doesnt work cause of the hash password
28th Apr 2018, 7:00 PM
Emrullah
Emrullah - avatar