0
$\begingroup$

Suppose:

md5(c1 + x) = c2

md5(x) = y

Is it possible to find y, if c1 and c2 are known and x is uknown? Basically, I know md5(salt + key) and I want to find md5(key).

$\endgroup$
4
  • $\begingroup$ Is md5 the standard hash function ? "+" means concatenation? $\endgroup$
    – joro
    Sep 18, 2012 at 9:18
  • $\begingroup$ crypto.stackexchange.com might be a better place to ask this question. $\endgroup$
    – Someone
    Sep 18, 2012 at 9:47
  • 1
    $\begingroup$ Hi Max, I've voted to close this question because as written it is not well-suited here. Be sure to read over mathoverflow.net/howtoask and the FAQ --- questions here should be written in the language of professional research mathematics. Myself, I have no idea what "md5", "salt", or "key" mean, nor even what area they are in (googling suggests md5 to have something to do with computer encryption). If this is a research mathematics question, feel free to revise your question to include some definitions, motivation, and what you already know. $\endgroup$ Sep 18, 2012 at 14:47
  • $\begingroup$ Quick answer: there are 2 ways to get md5(x)=y. One is by finding x, where no method is known to be better than bruteforcing x. Another way, which your question seems to suggest, is to study related-keys and try to get md5(x) without finding x. To my best of knowledge there are no results of this kind. There are studies on the differential probabilities, which is very low as you can imagine, very unlikely to beat bruteforcing. However, if the salt is fixed, one may use rainbow tables so that future searches are faster. $\endgroup$ Sep 18, 2012 at 17:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.