Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 3322
PHP Script Codes > Salt & Pepper Encrypter
Salt & Pepper Encrypter is a collection of two PHP functions that will make your password storage more secure! Instead of using just a common hash function, it uses a combination of them along with its own algorithm!
For example, lets say you have a password of test. You want to securely store this password in your database, but still be able to authenticate the user. With Salt & Pepper Encrypter, your password could be saved in the database a number of ways such as:
- a94a8fe5ccb19ba61c4c0873d 39190dd6f7670f0cca44cb9d3 c8e7df65ee93307273e987982 fbbd3n28
- a94a8fe5ccb19ba61c4c0873d 96669b01b6f24c7294f2f442c 2ce0de9391e987982fbbd3b25
By having such a variable way of storing data you are circumventing hackers from comprimising your data. After storing this in the database, you can check the user's inputted password for correctness as well.