|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
How do I (un)md5 a password that I entered into a db?
I used md5 to encrypt a password before it was entered into a database.
What I want to do now is be able to pull it back from the db in it's original un-encrypted form. TIA
__________________
$mybrain = "mush"; ------------------------------------------- http://www.loftsboston.com http://www.gregdawsondesign.com |
|
#2
|
|||
|
|||
|
You can't decode a MD5 hash as it isn't decodable.
Why would you need to do that though ? |
|
#3
|
||||
|
||||
|
Yeah, you are right!
I figured it out - I needed to use base64_encode and base64_decode! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > How do I (un)md5 a password that I entered into a db? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|