i am doing project on verification of diffie hellman key exchange using DES algoriyhm
i am doing project on gerenation of diffie hellman key exchange using DES algorithm.i need help to write a code
The Diffie-Hellman (D-H) key exchange is a method of secure exchange of cryptographic keys through a public channel and was one of the first public key protocols originally conceptualized by Ralph Merkle and named by Whitfield Diffie and Martin Hellman. D-H is one of the first 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 for some secure physical channel, such as printed lists of paper carried 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 unsafe channel. This key can be used to encrypt subsequent communications using symmetric key encryption.
Diffie-Hellman is used to secure a variety of Internet services. However, research published in October 2015 suggests that the parameters in use for many D-H Internet applications at the time are not strong enough to prevent the engagement of well-funded attackers such as the security services of large governments.
The system was first published by Whitfield Diffie and Martin Hellman in 1976, but in 1997 it was revealed that James H. Ellis, Clifford Cocks and Malcolm J. Williamson of GCHQ, the British signal intelligence agency, had previously shown cryptography of public key could be achieved.
Although the Diffie-Hellman key agreement itself is an unauthenticated key agreement protocol, it provides the basis for a variety of authenticated protocols and is used to provide advanced secrecy in the ephemeral modes of Transport Layer Security (referred to as EDH or DHE depending on the encryption suite).
The method was followed shortly by RSA, an implementation of public key cryptography using asymmetric algorithms. U.S. Pat. 4,200,770 of 1977, is now expired and describes the now public domain algorithm. It is attributed to Hellman, Diffie and Merkle as inventors.