php - Creating hashes for passwords -


I am creating a custom CMS and have created a login system and wandering how to compare such a password Just by using the MD5 PHP function like this:

   

How do I do this here

The $ key is unique to each user, which will have a value in the database. $ Salt and dollar black pepper randomly generates the string. $ Password is the password of course.

Added on 07/24/09

Thanks for all your responses Do anyone have an example that they have a hash to create a password to store in a database How do the script?

similarly:

Make sure you read it:

And this:


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -