Lably
Skip to content

Key-agreement protocol

Protocol for agreeing on a cryptographic key

  • 5 min read
  • 3 chapters

Related on Lably

Through Confidentiality, Exponentiation and Courier

At the completion of the protocol, all parties share the same key. A key-agreement protocol precludes undesired third parties from forcing a key choice on the agreeing parties. A secure key agreement can ensure confidentiality and data integrity in communications systems, ranging from simple messaging applications to complex banking transactions.

Secure agreement is defined relative to a security model, for example the Universal Model. More generally, when evaluating protocols, it is important to state security goals and the security model. For example, it may be required for the session key to be authenticated. A protocol can be evaluated for success only in the context of its goals and attack model. An example of an adversarial model is the Dolev–Yao model.

In many key exchange systems, one party generates the key, and sends that key to the other party; the other party has no influence on the key.

Exponential key exchange

The first publicly known public-key agreement protocol that meets the above criteria was the Diffie–Hellman key exchange, in which two parties jointly exponentiate a generator with random numbers, in such a way that an eavesdropper cannot feasibly determine what the resultant shared key is.

Exponential key agreement in and of itself does not specify any prior agreement or subsequent authentication between the participants. It has thus been described as an anonymous key agreement protocol.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication