Nowadays hackers hack the message while it is being send. To overcome this problem there are many algorithm. In our paper we are going to take a deep survey and compare two algorithms: RSA and MD5 in terms of speed, key size, block size, rounds, execution time, security to find which algorithm works better. © 2016, International Journal of Pharmacy and Technology. All rights reserved.