Settings

Theme

The Art of Password Protection in PHP

img64.imageshack.us

1 points by bkhl 15 years ago · 5 comments

Reader

there 15 years 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);
     }
rudiger 15 years ago

I hope no one is doing anything involving passwords in PHP.

  • fghfdhgdfd 15 years ago

    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?

    • rudiger 15 years ago

      Password protection shouldn't be done in the presentation layer, regardless of language.

gcb 15 years ago

...and then i wanted to email the passwords back to my users in regular intervals and went back to step one.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection