Hash Length Extension

Sort by

recency

|

2 Discussions

|

  • + 1 comment

    Why am I not able to see what input caused the wrong answer?

    • + 0 comments

      Hi @abdulfatir, they are now public.

  • + 10 comments

    Is anyone else getting ab08c9ade6884d7e3984e37bdd1c5b47 as the MD5 hash for the extended message instead of 0c8681e9c287537a13a3bac129ad0fbd? I passed the other test cases but not this one.

    • + 0 comments

      Same here. I tried the test case with a hash extender tool from github, and it also gives the ab08... hash. I believe the test case is wrong.

    • + 0 comments

      @vinaysagar, i'm getting the same digest as you for that test case. did you ever get confirmation that the official answer is correct? this is the only test case where the secret+data exceeds one MD5 data block. the official answer seems to assume 2 data blocks, whereas it would seem that 3 blocks are needed. i was able to get my program to "pass" by means of the ugly hack of imposing an arbitrary limit of 2 data blocks. i'm sure this isn't the right answer. i only did it as an experiment.

    • + 0 comments

      Hi dfong63, This is the leaderboard from where you can download solutions and identify which ones cleared the test cases. Do let us know if you think there was something wrong in the solutions which did past all the test cases?

No more comments