Advertisement

12.04.2006 at 04:53AM PST, ID: 22081330
[x]
Attachment Details

Password encryption/look-up/recovery

Asked by PeterErhard in PHP Scripting Language

Tags: encrypted

At the moment, I'm storing passwords in a mySQL database as text rather than encrypted. Bad I know!

1) How can I on sign-up (insert into db) encrypt the password?
2) How can I look-up the encryped password when the user logs in to ensure it is correct?
3) On the Password Recovery page that sends them an email, I want to send them the password in un-encryped format. How could I do that?Start Free Trial
 
Loading Advertisement...
 
[+][-]12.04.2006 at 05:04AM PST, ID: 18068197

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.04.2006 at 05:32AM PST, ID: 18068350

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.04.2006 at 05:51AM PST, ID: 18068462

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.05.2006 at 12:07AM PST, ID: 18074943

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Tags: encrypted
Sign Up Now!
Solution Provided By: jk2001
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.07.2006 at 12:16AM PST, ID: 18091498

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.20.2007 at 02:10PM PST, ID: 18357868

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32