In
cryptography
Cryptography, or cryptology (from "hidden, secret"; and ''graphein'', "to write", or ''-logy, -logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of Adversary (cryptography), ...
, a cryptosystem is a suite of
cryptographic algorithms needed to implement a particular security service, such as confidentiality (
encryption
In Cryptography law, cryptography, encryption (more specifically, Code, encoding) is the process of transforming information in a way that, ideally, only authorized parties can decode. This process converts the original representation of the inf ...
).
Typically, a cryptosystem consists of three algorithms: one for
key generation, one for encryption, and one for decryption. The term ''
cipher
In cryptography, a cipher (or cypher) is an algorithm for performing encryption or decryption—a series of well-defined steps that can be followed as a procedure. An alternative, less common term is ''encipherment''. To encipher or encode i ...
'' (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
In mathematics, a tuple is a finite sequence or ''ordered list'' of numbers or, more generally, mathematical objects, which are called the ''elements'' of the tuple. An -tuple is a tuple of elements, where is a non-negative integer. There is o ...
with the following properties.
#
is a set called the "plaintext space". Its elements are called plaintexts.
#
is a set called the "ciphertext space". Its elements are called ciphertexts.
#
is a set called the "key space". Its elements are called keys.
#
is a set of functions
. Its elements are called "encryption functions".
#
is a set of functions
. Its elements are called "decryption functions".
For each
, there is
such that
for all
.
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.
Another example of a cryptosystem is the
Advanced Encryption Standard
The Advanced Encryption Standard (AES), also known by its original name Rijndael (), is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology (NIST) in 2001.
AES is a variant ...
(AES). AES is a widely used symmetric encryption algorithm that has become the standard for securing data in various applications.
Paillier cryptosystem is another example used to preserve and maintain privacy and sensitive information. It is featured in electronic voting, electronic lotteries and electronic auctions.
See also
*
List of cryptosystems
*
Semantic security
References
{{Authority control
Cryptography