6 ms·
The Art of Password Protection in PHP
- rudiger 16y agoI hope no one is doing anything involving passwords in PHP.
- fghfdhgdfd 16y agoSorry, I can't seem to find the point you're trying to make under the snark... did you forget to add one? If one were feeling really unkind, one could note that languages at the opposite end of the spectrum to PHP tend bring about this tendency - maybe you need some kind of snark compiler to enforce this kind of thing so that you don't have to rely on expertise?
- rudiger 16y agoPassword protection shouldn't be done in the presentation layer, regardless of language.
- there 16y ago"And then I stopped dicking around and used solar designer's phpass..." function generateHash($pwd) { $h = new PasswordHash(8, false); return $h->HashPassword($pwd); }
- gcb 16y ago...and then i wanted to email the passwords back to my users in regular intervals and went back to step one.