Hash Length Extension

  • + 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.