- #1
mnms
- 2
- 0
Hi. I'm studying the cryptography MD5 calculation and have some trouble I'd like to seek help with. I am trying to comprehend the MD5 memo http://www.ietf.org/rfc/rfc1321.txt" and have trouble understanding the calculation.
Here is what I comprehend so far. A message is appended with a 1 followed by enough 0s to make it 64-bits shy of multiples of 512-bit. The last 64-bits appended being the length of the original message. I know that a four-word buffer, and four functions will be used, but I am not sure how and which bits to put in place.
I'm hoping someone would be able to explain the calculation of the functions and how the hash value is derived. I'm not sure if this is possible, but say given a word, to be able to produce a hash value through calculation. Thank you.
Here is what I comprehend so far. A message is appended with a 1 followed by enough 0s to make it 64-bits shy of multiples of 512-bit. The last 64-bits appended being the length of the original message. I know that a four-word buffer, and four functions will be used, but I am not sure how and which bits to put in place.
I'm hoping someone would be able to explain the calculation of the functions and how the hash value is derived. I'm not sure if this is possible, but say given a word, to be able to produce a hash value through calculation. Thank you.
Last edited by a moderator: