Click here to Skip to main content
15,886,689 members
Home / Discussions / C#
   

C#

 
AnswerRe: AcroRd32.exe command line options and alternatives Pin
Garth J Lancaster21-Feb-14 11:14
professionalGarth J Lancaster21-Feb-14 11:14 
Questionhow to use a key in md5 algorithm in c# Pin
rincy sivan21-Feb-14 0:22
rincy sivan21-Feb-14 0:22 
AnswerRe: how to use a key in md5 algorithm in c# PinPopular
Eddy Vluggen21-Feb-14 0:27
professionalEddy Vluggen21-Feb-14 0:27 
GeneralRe: how to use a key in md5 algorithm in c# Pin
OriginalGriff21-Feb-14 0:57
mveOriginalGriff21-Feb-14 0:57 
AnswerRe: how to use a key in md5 algorithm in c# PinPopular
OriginalGriff21-Feb-14 1:03
mveOriginalGriff21-Feb-14 1:03 
JokeRe: how to use a key in md5 algorithm in c# Pin
Marco Bertschi21-Feb-14 1:18
protectorMarco Bertschi21-Feb-14 1:18 
GeneralRe: how to use a key in md5 algorithm in c# Pin
OriginalGriff21-Feb-14 3:30
mveOriginalGriff21-Feb-14 3:30 
GeneralRe: how to use a key in md5 algorithm in c# Pin
harold aptroot21-Feb-14 1:44
harold aptroot21-Feb-14 1:44 
While it seems unlikely that you actually meant to ask "how can I generate a pre-image of an MD5 hash", that would be a much more interesting question, so I'll pretend you asked it.
In general, that's still "very hard". That is, given a random MD5 hash x, it's not (yet) feasible to compute a string that would hash to x (though there is an 2123.4 attack, which is better than brute force). By the way, there is obviously an unlimited number of strings that would have the same hash, because there's an infinite number of different strings and only a finite number of MD5 hashes. So in general it's not possible to get the actual original string, but you may find a string that has the same hash, and for short strings there's a very good probability that you would have found the original.
By contrast, generating two strings that have the same MD5 hash is efficiently doable[^] and highly realistic.

If you know something about the key, for example that it's an 8-letter alpha-numeric string, a brute force attack is often very feasible - for this example, it would take several hours on a good GPU. (26+26+10)8 / 10GH/s[^] = about 6 hours, and you could buy a better GPU, or several.
MD5-ed passwords hashes can also be easy, it depends. On the one hand, it's obviously possible to make a long random password, and you won't crack it. But on the other hand, most passwords used in real life are not like that. See for example this article[^] about some of the subtleties of passwords.
AnswerRe: how to use a key in md5 algorithm in c# Pin
AmitGajjar23-Feb-14 18:48
professionalAmitGajjar23-Feb-14 18:48 
Questionweb browser Pin
Member 1045906320-Feb-14 23:42
Member 1045906320-Feb-14 23:42 
AnswerRe: web browser Pin
OriginalGriff21-Feb-14 0:07
mveOriginalGriff21-Feb-14 0:07 
GeneralRe: web browser Pin
AmitGajjar23-Feb-14 18:53
professionalAmitGajjar23-Feb-14 18:53 
Questionweb browser Pin
Member 1045906320-Feb-14 23:41
Member 1045906320-Feb-14 23:41 
QuestionQuestion Pin
Member 1061429620-Feb-14 23:18
Member 1061429620-Feb-14 23:18 
AnswerRe: Question Pin
Richard MacCutchan20-Feb-14 23:22
mveRichard MacCutchan20-Feb-14 23:22 
AnswerRe: Question Pin
Garth J Lancaster20-Feb-14 23:26
professionalGarth J Lancaster20-Feb-14 23:26 
AnswerRe: Question Pin
Marco Bertschi21-Feb-14 1:16
protectorMarco Bertschi21-Feb-14 1:16 
Questionhow to implement md5 algorithm in c# Pin
rincy sivan20-Feb-14 23:11
rincy sivan20-Feb-14 23:11 
AnswerRe: how to implement md5 algorithm in c# Pin
Member 1061429620-Feb-14 23:21
Member 1061429620-Feb-14 23:21 
AnswerRe: how to implement md5 algorithm in c# Pin
Richard MacCutchan20-Feb-14 23:23
mveRichard MacCutchan20-Feb-14 23:23 
AnswerRe: how to implement md5 algorithm in c# Pin
Pete O'Hanlon20-Feb-14 23:50
mvePete O'Hanlon20-Feb-14 23:50 
AnswerRe: how to implement md5 algorithm in c# Pin
OriginalGriff21-Feb-14 0:10
mveOriginalGriff21-Feb-14 0:10 
GeneralRe: how to implement md5 algorithm in c# Pin
AmitGajjar23-Feb-14 19:02
professionalAmitGajjar23-Feb-14 19:02 
QuestionInsert Multi Rows from Datagridview to another datagridview Pin
haipt23220-Feb-14 23:03
haipt23220-Feb-14 23:03 
AnswerRe: Insert Multi Rows from Datagridview to another datagridview Pin
Richard MacCutchan20-Feb-14 23:27
mveRichard MacCutchan20-Feb-14 23:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.