2 ms·
Yes, but there's a greater chance that basic tutorials that for example use unsalted sha1 will use this method instead. It's just as simple for a beginner to gr
by Kudos 14y ago
Yes, but there's a greater chance that basic tutorials that for example use unsalted sha1 will use this method instead. It's just as simple for a beginner to grok, but secure by default.
- ErrantX 14y agoThe code he posted has different vulnerability; i.e. SQL injection. Your password could be ultra-secure, but it doesn't matter if you use that code without sanitizing inputs :) I guess the reason he is being downvoted is; badly hashed passwords are not merely a newbie problem...
- Kudos 14y agoSQLi a different though related issue so I reframed it with an example that this solves.