PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
cryptography (Definition)

Cryptography is the science of encoding and decoding messages so that they are only understood by intended senders and recipients.

Informally, the basic ingredients in cryptography consist of

  1. An alphabet $\Sigma$ . A word over $\Sigma$ is called a plaintext or cleartext. The set $M:=\Sigma^*$ of all plaintexts is called the message space.
  2. An alphabet $\Delta$ . A word over $\Delta$ is called a ciphertext or cryptotext. The set $C:=\Delta^*$ of all ciphertexts is called the ciphertext space.
  3. A set $K$ called the key space, such that each $k\in K$ , called a key, determines functions $e_k: M\to C$ and $d_k:C\to M$ called encryption function and decryption function respectively. It is generally required that $d_k\circ e_k = 1_M$ (and usually $e_k\circ d_k=1_C$ so that $e_k$ and $d_k$ are inverses of one another). The pair $(e_k,d_k)$ is usually called a key pair.
The triple $(M,C,K)$ is called a cryptosystem.

Given a cryptosystem, one generally wants both $e_k$ and $d_k$ to be easily computable, so that encryption by the sender and decryption by the intended receiver can be done effortlessly. For example, if $A$ were to send $B$ an encrypted message, $A$ needs to be able to easily encrypt a plaintext $u$ into a ciphertext $v=e_k(u)$ . Upon receiving $v$ , the intended receiver $B$ needs to be able to easily decrypt $v$ into plaintext $u=d_k(v)$ . On the other hand, one also wants the task of recovering the plaintext from the ciphertext very difficult, or intractible, without knowing the decryption functions $d_k$ . For example, if an eavesdropper $C$ ever gets hold of $v$ , he/she will have a very hard time recovering $u$ without knowing $d_k$ , sometimes even in the presence of knowing $e_k$ .

Here, the adjectives ``easy'', ``difficult'', ``intractible'' are measured in terms of the complexity involved in the computations. For example, ``easy'' could mean that the time involved in the computations depends linearly on the length of the input $u$ (hopefully with a small coefficient), whereas ``difficult'' could mean the dependence be exponential instead. A function $f$ such that it is easy to compute $f(u)$ given $u$ but very hard to find $u$ given $f(u)$ is usually called a one-way function. For example, $f(m,n)=mn$ where $m,n$ are primes, is one-way, or nearly so. It is easy to multiply, but very hard to factor, particularly when both $m$ and $n$ are large.

The study of cryptogrpahy thus can be loosely broken up into two main branches: the construction of a good cryptosystem (meaning that the encryption functions should be one-way, and the decryption functions should be easy to compute), and the breaking of a ciphertext in some given setting (for example, where the encryption functions are known). The latter of the two branches is also known as cryptanalysis.

The mathematics behind cryptography involves a variety of disciplines, of which the main ones are information theory, formal languages, computational complexity, probability theory, and number theory.

Cryptographic methods range from simple additive ciphers to sophisticated public key encryption systems, first introduced by Diffie and Hellman in the mid 1970's.




Anyone with an account can edit this entry. Please help improve it!

"cryptography" is owned by CWoo. [ full author list (2) | owner history (1) ]
(view preamble | get metadata)

View style:

Other names:  cleartext, cyphertext, cryptotext
Also defines:  plaintext, ciphertext, message space, cyphertext space, key space, key, key pair, encryption function, decryption function, cryptosystem, cryptanalysis

Attachments:
a demonstration of different encryption methods on the same sample message (Example) by PrimeFan
Log in to rate this entry.
(view current ratings)

Cross-references: additive, simple, range, number theory, formal languages, theory, information, variety, branches, factor, primes, one-way function, exponential, coefficient, length, mean, terms, even, computable, inverses, functions, alphabet
There are 56 references to this entry.

This is version 7 of cryptography, born on 2006-03-28, modified 2009-08-08.
Object id is 7784, canonical name is Cryptography.
Accessed 3574 times total.

Classification:
AMS MSC94A60 (Information and communication, circuits :: Communication, information :: Cryptography)

Pending Errata and Addenda
None.
[ View all 1 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)