shiza Posted June 19, 2012 Share Posted June 19, 2012 $string="this is my string"; $hash=md5($string); I strore it in database (only $hash) How can i get back the $string form $hash? Quote Link to comment Share on other sites More sharing options...
HDFilmMaker2112 Posted June 19, 2012 Share Posted June 19, 2012 $string="this is my string"; $hash=md5($string); I strore it in database (only $hash) How can i get back the $string form $hash? You can't... that's the point of hashing. Quote Link to comment Share on other sites More sharing options...
cpd Posted June 19, 2012 Share Posted June 19, 2012 If you're attempting to make a comparison between a hashed string in the database and POST data you can hash the POST data and compare the two hashed strings. Quote Link to comment Share on other sites More sharing options...
shiza Posted June 19, 2012 Author Share Posted June 19, 2012 Thanx for the reply...Now i Got it .... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.