|
A PHP User - 07 Sep 2008
> how do i sent the original password
> to the user if he forgets it
If the password is a dictionary word (such as "dolphin"), you can write a PHP script to hack it in under a second. There are about 60,000 words in an English dictionary, and PHP can test about 300,000 sha1's per second (on my computer).
What if the user chose a good password? Then you don't hack it. You ask him to enter a new password.
To see why, assume that the password is 10 characters long, made up of random letters. The total number of possible passwords is 26^10 = 141167095653376. You could probably try 300,000 per second on one computer, so that's 470,556,985 seconds, or about FIFTEEN YEARS. There are probably math tricks to make it faster, but you'll need a lot of processor time to break the code.
Nitin Kushwaha - 07 Sep 2008
Decryptum doesnt crack the password, instead they strip off the 40-bit hash from the file-open password and they give you back ur file without password.
Thats how Decryptum works.
Nitin Kushwaha
CHFI.CEH.CIW-SA.ITIL.SCSCSA.MCSE.MCSA
A PHP User - 07 Sep 2008
how do i sent the original password to the user if he forgets it
Rajneesh Noonia - 07 Sep 2008
YES SEE http://md5encryption.com/?mod=decrypt
deathgod - 07 Sep 2008
the number of possible different has combinations is 255^40(255 to the power of 40). on window's default calculator program 255^40=1.8264476014903146144805026366139e+96. You are going to need the biggest database in the world if you are going to compile 1.8264476014903146144805026366139e+96 possible values :)
A PHP User - 07 Sep 2008
Nice text. But there seems to be a little problem.
"Finally, notice that there is no way to distinguish between long strings and short strings - because the hash is not reversible (that is, you cannot extract the original input from the hash), you can create a hash of strings of millions of characters in just 40 bytes."
Yeah, right. You can't feel any difference between short lines and long texts. And here comes the problem of colision.
Gus Jones - 07 Sep 2008
Outstanding. A topic that's always complicated in other books and here Paul Hudson explains it clearly. I really appreciate this web book!
Unix Programmer - 07 Sep 2008
IN the sentence
"If you have the passwords of people on your database, or in your files, then malicious users will not be able to retrieve the original password.",
I assume that you mean
"If you hash the passwords of people on your database, or in your files, then malicious users will not be able to retrieve the original password.",
A PHP User - 07 Sep 2008
The second argument only works for PHP >= 5.
PGP User - 07 Sep 2008
In fact, if you can decrypt this within my lifetime, I'll give you $50.
69177c6f2ba9d87a0e2eeeb003ac13d67ce5c91c
Today is August 9th, 2005. My email is in the encrypted hash.
PGP User - 07 Sep 2008
First of all, www.decryptum only decrypts Word documents, it seems.
You need to understand encryption. For more info on encryption, visit:
http://www.inet2000.com/public/encryption.htm
QUOTE
It would take significantly longer than the age of the universe to crack a 128-bit key.
END QUOTE
PGP User - 07 Sep 2008
First of all, www.decryptum only decrypts Word documents, it seems.
You need to understand encryption. For more info on encryption, visit:
http://www.inet2000.com/public/encryption.htm
QUOTE
It would take significantly longer than the age of the universe to crack a 128-bit key.
END QUOTE
A PHP User - 07 Sep 2008
There is a website. http://www.decryptum.com , make a Word document, password protect it using *128* bit encryption key, and then upload it to this website. They will crack it in less than 3 minutes :) :) :) Millions of Years?
A PHP User - 07 Sep 2008
The million years to crack thing is a bit exaggerated. While it COULD take that long, most hackers are able to use rainbow tables and other password cracking emthods to retrieve basic passwords in little time.
A PHP User - 07 Sep 2008
Can I retrieve the original string from the hashed string?
Kidding. Good job, maybe just a bit too many repeats of the answer to my question.
Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.
If you are reporting an error in the content, please tell me directly.
|