Jump to content

Recommended Posts

  • Administrators
Posted

It uses a standard md5 hash plus a random salt string to further encrypt user passwords. Both the md5 string and the user specific salt string are saved in the _pilots table in the db. Hope this helps.

Posted

How are the password and salt etc used?

We're making an app for our VA and we want to only allow registered users, so what do we need to do to the plain text password to match what's in the database?

  • Administrators
Posted

You could use something like this ->


$password = md5(your_user_input_password. your_user_salt_from_db);

if($password == your_user_password_from_db)

        { do stuff }

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...