Sunday, September 4, 2016

MD5 Hash Implementation


Hey guys! I recently coded the "MD5 Hash" exercise, so I thought I will skip some exercises and share some info related to MD5 and then come back to other exercises and post them later.

So here you go, these are some Cool links I found out.

The official documentation : https://tools.ietf.org/html/rfc1321

I recommend you read the above link, fully. If the font's not readable,
try this link : http://www.fastsum.com/rfc1321.php

Both the above links contain the same info.

And here's an example of how the hashing works on "Hello World!" string.

https://www.scribd.com/doc/35954574/MD5-With-Example

It's really good, in the sense that it helps you know the results of each "round" ( read the documentation to know the jargons. :P) and that way, it will help you debug your code if there's any problem.

***END OF POST***

BIG Note :P :
 
It's not an easy thing to code MD5. But you should (actually, you must!) try it. And stop getting code from others :P Besides, there are more tough exercises like this one. Like SHA1, RSA etc. At least try one of them. Don't get the code for all of them. And Trust me. It will be really hard to understand your friend's code! Sadly you will be cursing your friends (for eg me :P) for writing big, tough or crazy code. Sometimes no one can help writing tough code. So, don't curse them :P And by the way, it's more tougher to understand the code when you don't know anything about what the concept of the exercise is. So, I 'recommend' you try coding the exercises. May be even group up with friends and code modules of the exercise. This way everyone gets to know the exercise. But don't code one whole exercise and ask your friend to code another whole one. It never helps :P

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.