|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Passwords and md5
Just a simple question. What is the SQL to take a password and put it into md5 format when it saves it into the database?
And what is the SQL to get it back and compare the passwords? |
|
#2
|
|||
|
|||
|
RE: Passwords and md5
MD5 encryption is one-way only and thus you cannot de-MD5 the string. The only way to compare the strings is to run md5() on the password you want to check and compare it against the encrypted string in the database. |
|
#3
|
|||
|
|||
|
RE: Passwords and md5
O ok... well that's still exactly what I wanted to do.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Passwords and md5 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|