Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
how to create the PBKDF2 hash of a password using pure php only?
  • i would like to change/update a password value on a mysql table using a third party php application. this password is being read and configured by another application that is build with fuelphp and uses its simpleauth module which means its hashed with PBKDF2. how can this be achieved? i was looking at a function hash_pbkdf2() but this function asks or the algorithm to use. i don't know what is the algorithm used by the fuelphp so i cant try it out. thanks
  • The Auth driver uses
    pbkdf2($password, \Config::get('auth.salt'), 10000, 32, 'sha256'));
    

    So you also need the configured password salt.
  • thank you Harro. i will surely try this out.

Howdy, Stranger!

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

In this Discussion