Hacker News new | ask | show | jobs
by there 5588 days 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);
     }