All Topics  
Key exchange

 

   Email Print
   Bookmark   Link






 

Key exchange



 
 
Key exchange (also known as "Key establishment") is any method in cryptography
Cryptography

Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering....
 by which cryptographic key
Key (cryptography)

In cryptography, a key is a piece of information that determines the functional output of a cryptographic algorithm or cipher. Without a key, the algorithm would have no result....
s are exchanged between users, allowing use of a cryptographic algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
.

If Alice and Bob
Alice and Bob

Placeholder names are commonly used for archetypal characters in fields such as cryptography and physics. The names are used for convenience, since explanations such as "Person A wants to send a message to person B" can be difficult to follow in complex systems involving many steps....
 wish to exchange encrypted messages, each must be equipped to decrypt received messages and to encrypt sent messages. The nature of the information they require to do so depends on the encryption
Encryption

In cryptography, encryption is the process of transforming information using an algorithm to make it unreadable to anyone except those possessing special knowledge, usually referred to as a key ....
 technique they might use. If they use a code
Code

In communications, a code is a Operator for converting a piece of information into another form or representation , not necessarily of the same type....
, both will require a copy of the same codebook
Codebook

In cryptography, a codebook is a document used for implementing a code . A codebook contains a lookup table for coding and decoding; each word or phrase has one or more strings which replace it....
.






Discussion
Ask a question about 'Key exchange'
Start a new discussion about 'Key exchange'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Key exchange (also known as "Key establishment") is any method in cryptography
Cryptography

Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering....
 by which cryptographic key
Key (cryptography)

In cryptography, a key is a piece of information that determines the functional output of a cryptographic algorithm or cipher. Without a key, the algorithm would have no result....
s are exchanged between users, allowing use of a cryptographic algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
.

If Alice and Bob
Alice and Bob

Placeholder names are commonly used for archetypal characters in fields such as cryptography and physics. The names are used for convenience, since explanations such as "Person A wants to send a message to person B" can be difficult to follow in complex systems involving many steps....
 wish to exchange encrypted messages, each must be equipped to decrypt received messages and to encrypt sent messages. The nature of the information they require to do so depends on the encryption
Encryption

In cryptography, encryption is the process of transforming information using an algorithm to make it unreadable to anyone except those possessing special knowledge, usually referred to as a key ....
 technique they might use. If they use a code
Code

In communications, a code is a Operator for converting a piece of information into another form or representation , not necessarily of the same type....
, both will require a copy of the same codebook
Codebook

In cryptography, a codebook is a document used for implementing a code . A codebook contains a lookup table for coding and decoding; each word or phrase has one or more strings which replace it....
. If they use a cipher
Cipher

In cryptography, a cipher is an algorithm for performing encryption and decryption — a series of well-defined steps that can be followed as a procedure....
, they will need appropriate keys. If the cipher is a symmetric key cipher, both will need a copy of the same key. If an asymmetric key cipher with the public/private key property, both will need the other's public key.

The key exchange problem is how to exchange whatever keys or other information needed so that no one else can obtain a copy. Traditionally, this required trusted courier
Courier

A courier is a person or company employed to deliver messages, Parcel and mail. Couriers are distinguished from ordinary mail services by features such as speed, security, tracking, signature, specialization and individualization of services, and committed delivery times, which are optional for most everyday mail services....
s (with or without briefcases handcuffed to their wrists), or diplomatic bag
Diplomatic bag

A diplomatic bag, also known as a diplomatic pouch, is an envelope, parcel, shipping container or any other kind of receptacle used by diplomatic missions....
s, or some other secure channel
Secure channel

In cryptography, a secure channel is a way of transferring data that is resistant to interception and tampering.A confidential channel is a way of transferring data that is resistant to interception, but not necessarily resistant to tampering....
. With the advent of public key / private key cipher algorithms, the encrypting key (aka public key) could be made public, since (at least for high quality algorithms) no one without the decrypting key (aka, the private key) could decrypt the message.

In principle, then, the only remaining problem was to be sure (or at least confident) that a public key actually belonged to its supposed owner. Because it is possible to 'spoof
Spoofing attack

In the context of network security, a spoofing attack is a situation in which one person or program successfully masquerades as another by falsifying data and thereby gaining an illegitimate advantage....
' another's identity in any of several ways, this is not a trivial or easily solved problem, particularly when the two users involved have never met and know nothing about each other.

In 1976, Whitfield Diffie and Martin Hellman published a cryptographic protocol
Cryptographic protocol

A security protocol is an abstract or concrete protocol that performs a information security-related function and applies cryptographic methods....
, (Diffie-Hellman key exchange
Diffie-Hellman key exchange

Diffie-Hellman key exchange is a cryptographic protocol that allows two parties that have no prior knowledge of each other to jointly establish a shared secret key over an insecure communications channel....
), which allows users to establish 'secure channels' on which to exchange keys, even if an Opponent is monitoring that communication channel. However, D-H key exchange did not address the problem of being sure of the actual identity of the person (or 'entity').

Public key infrastructure
Public key infrastructure

The Public Key Infrastructure is a set of hardware, software, people, policies, and procedures needed to create, manage, store, distribute, and revoke digital certificates ....
s have been proposed as a way around this problem of identity authentication. In their most usual implementation, each user applies to a 'certificate authority
Certificate authority

In cryptography, a certificate authority or certification authority is an entity which issues Public key certificates for use by other parties....
' for a digital certificate which serves for other users as a non-tamperable authentication of identity. Several countries and other jurisdictions have passed legislation
Legislation

Legislation is law which has been promulgation by a legislature or other governing body. The term may refer to a single law, or the collective body of enacted law, while "statute" is also used to refer to a single law....
 or issued regulations encouraging PKIs by giving (more or less) legal effect to these digital certificates. Several commercial firms, and not a few government departments, have established such certificate authorities. VeriSign
VeriSign

VeriSign, Inc. is an United States company based in Mountain View, California that operates a diverse array of network infrastructure, including two of the Internet's thirteen root nameservers, the generic top-level domains for .com and .net, one of the largest Signaling System 7 signaling networks in North America, and the RFID directory fo...
 is the most prominent commercial firm. For those new to such things, these arrangements are best thought of as electronic notary
Notary public

A notary public is a public officer constituted by law to serve the public in non-contentious matters usually concerned with estates, deeds, powers-of-attorney, and foreign and international business....
 endorsements that "this public key belongs to this user". As with notary endorsements, there can be mistakes or misunderstandings in such vouchings. There have been several high profile public failures by assorted certificate authorities.

At the other end of the conceptual range is the web of trust
Web of trust

In cryptography, a web of trust is a concept used in Pretty Good Privacy, GNU Privacy Guard, and other OpenPGP-compatible systems to establish the authenticity of the binding between a public key and a user....
 system, which avoids central Certificate Authorities entirely. Each user is responsible for vetting any certificate from another before using that certificate to communicate with, vet digital signatures from, ... the user claimed to be associated with the particular public key in a certificate. PGP (and GPG
GPG

GPG may refer to:* Gas Powered Games, and their GPGNet online matchmaking service.* Global Public Good* GNU Privacy Guard, cryptographic software...
, an implementation of the OpenPGP Internet Standard) employ just such a web of trust mechanism. Together they are the most widely used high quality crypto system in the world.

The problem of key exchange has not yet been solved. In particular, it has not yet been solved for the modern situation of two previously unknown users attempting to communicate electronically, as, for instance, in electronic commerce. Some of the existing work-around designs work, more or less, but are not fully satisfactory.

See also


  • Key (cryptography)
    Key (cryptography)

    In cryptography, a key is a piece of information that determines the functional output of a cryptographic algorithm or cipher. Without a key, the algorithm would have no result....
  • AKEP2