Cryptography is the practice and study of techniques for secure communication in the presence of third parties. More generally, it is about constructing and analyzing protocols that block adversaries; various aspects in information security such as data confidentiality, data integrity, authentication and non-repudiation. Cryptography is used to provide securely transmission of data. This paper describes the cryptography types. Now-a-days, it is impossible to provide a security from the hacker. So, today many techniques are used. In this paper, the authors studied, the encryption and decryption for securing the data.