Get support from Xavier Media
It is currently Sun Dec 08, 2013 3:37 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: md5
PostPosted: Wed Oct 11, 2006 5:52 pm 

Points:
hii guys
i have asking about how can i return the md5 to normal text after i maked the text md5.
Code:
<?
$text = "trying php";
print (md5($text));
?>


and can anyone make more explanation for md5 to every one know for what it use :)


****************************************************


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 11, 2006 7:15 pm 

Points:
You cannot convert it back, md5 is used to hash things, typically it is used for passwords, for example:

When a user registers an account the password is hashed with md5 and submited to a database:

$password = md5($_POST['password']);

The database will contain the password, but it will look like this:

Image

Then when they login you md5 the submited password and compare that with the one in the databse, so the user is the only person who ever knows what the password actually is.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Registered users: No registered users


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]