The need for the use for cryptography can be summarized under the notion of ensuring secure communication in the presence of untrusted third parties. The goals of cryptography are:
- To prevent data from falling into unauthorized hands (To ensure the confidentiality of data).
- Find out if data has been modified during transport (Ensure the integrity of the data).
- To clearly identify the source of the data (To ensure the authenticity of the data).
- Additionally, users or computers can authenticate themselves using cryptography.