Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
PHPassword for FuelPHP
  • I've made a phpass package for all to use.
    It is a port of phpass. Usage
    Download and put the package in your package directory.
    The source is available on github. For hashing:
    $hashed = PHPassword::hash($password)
    

    For checking:
    if(PHPassword::check($password,$stored_hash) === true){
     // succes
    }else
    {
     // error
    }
    

    I've added a config file (/phpassword/config/phpassword.php) to change some basic settings.
    For more info on the library itself, please vitis: http://www.openwall.com/phpass/ So for anyone finding this usefull, have fun.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!