Cryptography

A generic cryptography model is shown in the following diagram:

A model of the generic encryption and decryption model

In the preceding diagram, P, E, C, and D represent plaintext, encryption, ciphertext, and decryption, respectively. Also based on this model, explanations of concepts such as entity, sender, receiver, adversary, key, and channel follow:

  • Entity: Either a person or system that sends, receives, or performs operations on data
  • Sender: This is an entity that transmits the data
  • Receiver: This is an entity that takes delivery of the data
  • Adversary: This is an entity that tries to circumvent the security service
  • Key

Get Mastering Blockchain - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.