Is SQL secure saving passwords? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is SQL secure saving passwords?

4th Jul 2017, 4:52 PM
Andrés04_ve
Andrés04_ve - avatar
5 Answers
+ 5
Yes but you will need to hash them with salt. I recommend hashing them multiple times and making it so it is impossible to decrypt but when you enter your password it hashes it then sees if it is the same and if it is the password is correct
4th Jul 2017, 8:30 PM
Cheesy Game Studios
Cheesy Game Studios - avatar
+ 3
of course no its just a database. u have to further encrypt the passwords or hash them with salt so if somebody breaks into your database, they cannot decrypt the passwords
4th Jul 2017, 4:58 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 2
um hash with salt lol, actually md5(md5(password)) isnt bad too but just not recommended. if u have something like username and password, u can hash the password with the username as salt. idk how to do this on other languages but theres a way to do it on php string crypt ( string $str [, string $salt ] ) like crypt(password, username) taken from https://cheeze.club/5hta
4th Jul 2017, 5:09 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
Sql just for storing data. To secure your data, it rely on how good the server script handles the data.
4th Jul 2017, 5:15 PM
Calviղ
Calviղ - avatar
0
Well... Which one is the best encryption type
4th Jul 2017, 5:00 PM
Andrés04_ve
Andrés04_ve - avatar