DefinitionCryptography is both the practice and the study of the secure communication of messages in the presence of adversaries. This includes creating encryption and decryption algorithms and protocols to secure messages such that confidentiality, integrity, and authenticity are guaranteed. Examples of cryptography include encryption, decryption, digital signatures, and cryptographic hash functions. It is applied in computer security, telecommunication, banking and in e-commerce in order to secure sensitive information and communications. A public-key encryption scheme (like RSA or ECC) that depends on the idea that factoring large integers is infeasible for protecting secure communications over public channels.