Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I'm using the following lines to create a hashed string

  String source = String.format(%s %s %s", salt, firstPart, secondPart);
  byte[] bytes = md5(source);

How can I find a collision? meaning finding two different strings which create the same output.

share|improve this question
    
Typically, this community prefers to see that you have put in some effort towards trying to learn the answer on your own, or even to better understand the question you're asking. –  Stephen Touset Oct 14 at 23:22
    
@StephenTouset, i have difficulty understanding your point! –  nightograph Oct 15 at 14:49
    
From the Help Center on how to ask a good question: Have you thoroughly searched for an answer before asking your question? Sharing your research helps everyone. Tell us what you found and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and above all, it helps you get a more specific and relevant answer! –  Stephen Touset Oct 15 at 19:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.