In today's digital communication era sharing of information is increasing significantly. The information being transmitted is vulnerable to various passive and active attacks. Therefore, the information security is one of the most challenging aspects of communication. Cryptography plays an integral role in secure communication and it provides an excellent solution to offer the necessary protection against the data intruders. Over a significant time, data encryption techniques took a massive leap from simple methods to complicated mathematical calculations in order to achieve secure communication.