HOME

TheInfoList



OR:

In
cryptography Cryptography, or cryptology (from grc, , translit=kryptós "hidden, secret"; and ''graphein'', "to write", or ''-logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of adve ...
, a cryptosystem is a suite of cryptographic algorithms needed to implement a particular security service, such as confidentiality (
encryption In cryptography, encryption is the process of encoding information. This process converts the original representation of the information, known as plaintext, into an alternative form known as ciphertext. Ideally, only authorized parties can dec ...
). 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 Public-key cryptography, or asymmetric cryptography, is the field of cryptographic systems that use pairs of related keys. Each key pair consists of a public key and a corresponding private key. Key pairs are generated with cryptographic a ...
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 In mathematics, a tuple is a finite ordered list (sequence) of elements. An -tuple is a sequence (or ordered list) of elements, where is a non-negative integer. There is only one 0-tuple, referred to as ''the empty tuple''. An -tuple is defi ...
(\mathcal,\mathcal,\mathcal,\mathcal,\mathcal) with the following properties. # \mathcal is a set called the "plaintext space". Its elements are called plaintexts. # \mathcal is a set called the "ciphertext space". Its elements are called ciphertexts. # \mathcal is a set called the "key space". Its elements are called keys. # \mathcal = \ is a set of functions E_k : \mathcal \rightarrow \mathcal. Its elements are called "encryption functions". # \mathcal = \ is a set of functions D_k : \mathcal \rightarrow \mathcal. Its elements are called "decryption functions". For each e \in \mathcal, there is d \in \mathcal such that D_d(E_e(p)) = p for all p \in \mathcal. 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 RSA may refer to: Organizations Academia and education * Rabbinical Seminary of America, a yeshiva in New York City *Regional Science Association International (formerly the Regional Science Association), a US-based learned society *Renaissance S ...
cryptosystem.


References

Cryptography {{crypto-stub