Please can anyone tell me the best way to write a php login script that will encrypt the user password when an account is created and decrypt it when the user try to login. It is a localhost system so not really concern about hackers. Thanks
achiman
0
Junior Poster in Training
Recommended Answers
Jump to PostWhy do you want to decrypt the password at login ?
You just encrypt the password put in at login time with the same algorithm that you used at the time of registration.
Sample code for register:
<?php // code to verify that password and …
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.