Cryptosystem

From Infogalactic: the planetary knowledge core
(Redirected from Cryptographic system)
Jump to: navigation, search

In cryptography, cryptosystem refers to a suite of cryptographic algorithms needed to implement a particular security service, most commonly for achieving confidentiality (encryption).[1]

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 (\mathcal{P},\mathcal{C},\mathcal{K},\mathcal{E},\mathcal{D}) with the following properties.

  1.  \mathcal{P} is a set called the "plaintext space". Its elements are called plaintexts.
  2.  \mathcal{C} is a set called the "ciphertext space". Its elements are called ciphertexts.
  3.  \mathcal{K} is a set called the "key space". Its elements are called keys.
  4.  \mathcal{E} = \{ E_k : k \in \mathcal{K} \} is a set of functions E_k : \mathcal{P} \rightarrow \mathcal{C}. Its elements are called "encryption functions".
  5.  \mathcal{D} = \{ D_k : k \in \mathcal{K} \} is a set of functions D_k : \mathcal{C} \rightarrow \mathcal{P}. Its elements are called "decryption functions".

For each e \in \mathcal{K}, there is d \in \mathcal{K} such that D_d(E_e(p)) = p for all p \in \mathcal{P}.[2]

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.

Examples

A classical example of a cryptosystem is the Caesar cipher. A more contemporary example is the RSA cryptosystem.

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.


<templatestyles src="Asbox/styles.css"></templatestyles>