Free Web Hosting Md5

Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Md5
Corey
post Feb 22 2005, 08:53 PM
Post #1


Super Member
*********

Group: Members
Posts: 218
Joined: 13-January 05
Member No.: 3,267



how to convert a md5 code to normal text...

i tried to search with google..but no results.. huh.gif
Go to the top of the page
 
+Quote Post
FaLgoR
post Feb 22 2005, 10:02 PM
Post #2


Super Member
*********

Group: Members
Posts: 217
Joined: 2-January 05
Member No.: 3,084



I think its impossible.
If it would be possible, nobody would use it. Why encript the code if it can easilly be uncripted? Isn't logical?
But, you can compare an text with an encripted code to see if they are the same text:
CODE

<?
$var = md5("aaa");
$textsent = md5($_POST["someform"]);
if($textsent == $var)
print "The sent text and the password are the same!";
else
print "The sented text and the password aren't the same!";
?>
<form action="<? echo "$PHP_SELF"; ?>" method="post">
<input type="text" name="someform">
</form>

Got it? wink.gif

But if you want just to unencript the text, forget it..
Go to the top of the page
 
+Quote Post
cse-icons
post Feb 23 2005, 06:53 AM
Post #3


Super Member
*********

Group: Members
Posts: 351
Joined: 19-October 04
From: India
Member No.: 1,824



Hi Corey,

Md5 is a hash algorithm. i.e., It is a one-way hash which converts plaintext(or any data that is confidential) into a 128 -bit hash value(called message digest ).

The algorithm is such that only that plaintext will generate that hash value and no other. I mean there is a one-one relationship between the plaintext and hash. so even if a single bit is change in the plaintext it would generate a different message digest. So when u want a secure data transfer, transfer the file and the message digest separately. the receiver would again generate the digest and check whether both the digests match.. thus proving authenticity.

so all in all, md5 does not contain any original text in plain or encrypted form, so there is no way of getting it back.

dont know how clear I was but Hope this was a little useful....

For More Info refer to this RFC:
http://www.faqs.org/rfcs/rfc1321.html

Cheers.

This post has been edited by cse-icons: Feb 23 2005, 07:00 AM
Go to the top of the page
 
+Quote Post
Corey
post Feb 23 2005, 10:55 AM
Post #4


Super Member
*********

Group: Members
Posts: 218
Joined: 13-January 05
Member No.: 3,267



......i get it now....you can't convert it back to original value...

but i found a online database with md5 codes and original values.. tongue.gif
Go to the top of the page
 
+Quote Post
Mike
post Feb 24 2005, 07:09 PM
Post #5


Owner of Sub-Zero
********

Group: Members
Posts: 159
Joined: 17-November 04
Member No.: 2,325



Many websites create databases with original values and then the MD5 hash that goes along with them. That's called a 'Hash Database' or 'Hash Dictionary'. MD5 is extremely useful for storing passwords. Nobody could read MD5 but the programmed computer therefore, making it an ideal language for message boards; for storing the users' passwords in a database. I mean, what would be the point of making a language that hides original text if you could just decode it easily with a decoder? ._.
Go to the top of the page
 
+Quote Post
beeseven
post Feb 27 2005, 04:05 AM
Post #6


Privileged Member
*********

Group: Members
Posts: 629
Joined: 26-February 05
Member No.: 3,995



Yeah, technically you can't turn md5 into plain text, but I've heard it's possible to crack. Another PHP encryption method is sha1(), from which the resulting hash is longer. Of course, there's always sha1(md5(md5(sha1(md5(sha1(sha1(sha1(md5(md5($yourtext)))))))))); for a lot more security.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



- Lo-Fi Version Time is now: 11th October 2008 - 12:05 AM