I would say that you should perhaps learn the C language before you start attempting to mess around with MD5 hashing and the like, because your code is fairly nonsensical. But whatever.
First hit on...