News for hackers. Stuff that matters.
Re:The Art of Password Protection in PHP by there on Thursday February 24, 2011 @07:29PM (#2260479)
"And then I stopped dicking around and used solar designer's phpass..."

     function generateHash($pwd) {
       $h = new PasswordHash(8, false);
       return $h->HashPassword($pwd);
     }
Re:The Art of Password Protection in PHP by rudiger on Thursday February 24, 2011 @07:09PM (#2260423)
I hope no one is doing anything involving passwords in PHP.
Re:The Art of Password Protection in PHP by fghfdhgdfd on Friday February 25, 2011 @06:26AM (#2261831)
Sorry, 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?

Re:The Art of Password Protection in PHP by rudiger on Friday February 25, 2011 @08:17AM (#2262049)
Password protection shouldn't be done in the presentation layer, regardless of language.
Re:The Art of Password Protection in PHP by gcb on Thursday February 24, 2011 @09:50PM (#2260834)
...and then i wanted to email the passwords back to my users in regular intervals and went back to step one.