Lably
Skip to content

Cryptosystem

Suite of cryptographic algorithms needed to implement a particular security service

  • 1 min read
  • 2 chapters

Related on Lably

Through Tuple

Typically, a cryptosystem consists of three algorithms: one for key generation, one for encryption, and one for decryption. The term cipher (sometimes cypher) is often used to refer to a pair of algorithms, one for encryption and one for decryption. Therefore, the term cryptosystem is most often used when the key generation algorithm is important. For this reason, the term cryptosystem is commonly used to refer to public key techniques; however both "cipher" and "cryptosystem" are used for symmetric key techniques.

Formal definition

Mathematically, a cryptosystem or encryption scheme can be defined as a tuple (P,C,K,E,D) with the following properties.

  1. P is a set called the "plaintext space". Its elements are called plaintexts.
  2. C is a set called the "ciphertext space". Its elements are called ciphertexts.
  3. K is a set called the "key space". Its elements are called keys.
  4. E={Ek:k∈K} is a set of functions Ek:P→C. Its elements are called "encryption functions".
  5. D={Dk:k∈K} is a set of functions Dk:C→P. Its elements are called "decryption functions".

For each e∈K, there is d∈K such that Dd(Ee(p))=p for all p∈P.

Note; typically this definition is modified in order to distinguish an encryption scheme as being either a symmetric-key or public-key type of cryptosystem.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Computing and communication