|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi,
I use the PASSWORD function to encrypt the password provided by the users in a registration form in my site. The problem is that the password is encrypted and stored. I am not able to decrypt it whenever I require it.With use of Password func how do I decrypt it? Thanks in advance |
|
#2
|
|||
|
|||
|
There is no complement to the password() function for decrypting.
|
|
#3
|
|||
|
|||
|
Instead of decrypting password,
you can encrypt another password by using PASSWORD() . ex) select PASSWORD('another_one'); Or, check the rows what is correct. ex) select id from MEMBER_TABLE where password = PASSWORD('another_one'); |
|
#4
|
|||
|
|||
|
Hi Paxjesus and others.
I'm a newbie to mysql, php and so on, but I'm getting the basic idea, BUT.. is it then tru if the simpel line: PASSWORD('another_one'); Encrypts the "another_one" string? how can this be? |
|
#5
|
|||
|
|||
|
password() is just a built in function of mysql that uses a propriety system to encrypt the string passed. No magic to it.
|
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > password security |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|