Skip to content

Comment on The Art of Password Protection in PHP

Comments

"And then I stopped dicking around and used solar designer's phpass..."

     function generateHash($pwd) {
       $h = new PasswordHash(8, false);
       return $h->HashPassword($pwd);
     }
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.