Cryptographic primitives
Cryptographic primitives are the basic building blocks of a security protocol or system. In the following section, you are introduced to cryptographic algorithms that are essential for the building of secure protocols and systems. A security protocol is a set of steps taken in order to achieve required security goals by utilizing appropriate security mechanisms.
Various types of security protocols are in use, such as authentication protocols, non-repudiation protocols, and key management protocols.
A generic cryptography model is shown in the following diagram:
A model showing the generic encryption and decryption model
In the preceding diagram, P, E, C, and D represents Plain text, Encryption, Cipher text, and Decryption, respectively. Also, based on the model shown earlier, it is worth explaining various concepts such as entity, sender, receiver, adversary, key, and a channel.
- Entity: It is either a person or a system that sends, receives, or performs operations...