Information security plays a vital role in data communication through LAN, WAN, Internet etc. Cryptography is one of the best tools for information security. Cryptography is made up of two different tools that are encryption and decryption. Encryption is the method to hide the original data in data communication. While data communication, the data is masked using codes/shuffling. Here the purpose is to ensure privacy by keeping the information hidden/encoded to which it is not intended.