Skip to content

Implementation explicit of the Diffie-Hellman key agreement protocol in Java

Notifications You must be signed in to change notification settings

jcmorais/Diffie-Hellman-key-agreement-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Diffie-Hellman_key_agreement_protocol

Diffie–Hellman key exchange (D–H) is a specific method of securely exchanging cryptographic keys over a public channel and was one of the first public-key protocols as originally conceptualized by Ralph Merkle and named after Whitfield Diffie and Martin Hellman. D–H is one of the earliest practical examples of public key exchange implemented within the field of cryptography. Traditionally, secure encrypted communication between two parties required that they first exchange keys by some secure physical channel, such as paper key lists transported by a trusted courier. The Diffie–Hellman key exchange method allows two parties that have no prior knowledge of each other to jointly establish a shared secret key over an insecure channel. This key can then be used to encrypt subsequent communications using a symmetric key cipher.

Recall the Diffie-Hellman protocol:

Server → Client : p, g, g^(x)

Server ← Client : g^(y)

Server, Client : Key = g^(xy)

About

Implementation explicit of the Diffie-Hellman key agreement protocol in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages