• Loading
    • DIFFIE HELLMAN KEY EXCHANGE ALGORITHM

      DIFFIE HELLMAN KEY EXCHANGE ALGORITHM



      Diffie Hellman key exchange algorithm uses asymmetric key principles for the distribution of symmetric keys to both parties in a communication network. Key distribution is an important aspect of conventional algorithm and the entire safety is dependent on the distribution of key using secured channel. Diffie Hellman utilizes the public& private key of asymmetric key cryptography to exchange the secret key.

      Before going in depth of Diffie Hellman Algorithm,we define primitive root of a prime number 'p' as one whose powers generate all the integers from 1 to p-1, i.e. if 'a' is the primitive root of a prime no 'p', then,
      a mod p , a2 mod p , a 3 mod p, .............. ap-1 mod p generate all distinct integers from 1 to (p-1) in some permutation.

      The steps for Diffie Hellman key exchange algorithm are:

      Step 1 : GLOBAL PUBLIC ELEMENTS
      Select any prime no : 'q'
      Calculate the primitive root of q : 'a' such that a<q

      Step 2 : ASYMMETRIC KEY GENERATION BY USER 'A'
      Select a random number as the private key XA where XA < q
      Calculate the public key YA where YA = aXA mod q

      Step 3 : KEY GENERATION BY USER 'B'
      Select a random number as the private key XB where XB < q
      Calculate the public key YB where YB = aXB mod q

      Step 4 : Exchange the values of public key between A & B


      Step 5 : SYMMETRIC KEY (K) GENERATION BY USER 'A'
      K= YB XA mod q

      Step 6 : SYMMETRIC KEY (K) GENERATION BY USER 'B'
      K= YA XB mod q

      It can be easily be proved that the key K generated by this algorithm by both parties are the same.
      Comments 1 Comment
      1. souravmusib's Avatar
        souravmusib -
        it's right.......>>>>>
    • Enter your email address:

      Delivered by FeedBurner

    • Categories

    • Latest Posts

      johansonkath

      Download latest version of live chat plugin for WordPress

      Banckle has announced the latest version of live chat plugin for WordPress which now includes the enhanced features of Banckle.Chat cloud API. This new version now allows WordPress users to add live...

      johansonkath 08-20-2014, 06:42 AM Go to last post
      Joseph101

      Re: What is PPC?

      PPC is a type of online marketing where the advertiser only pays if their ad is clicked and a visitor arrives at their website. PPC is important part of Online Marketing Services. Read More...

      Joseph101 08-08-2014, 09:53 AM Go to last post
      johansonkath

      Live Chat Plugin for Moodle Website by Banckle

      Banckle live chat plugin for Moodle allows you to chat with your e-learning program participants in more social way. This plugin allows you to give your Virtual Learning Environment (VLE) a social...

      johansonkath 08-08-2014, 09:50 AM Go to last post
      Friendship

      How to earn on Forex market with Prime FMS

      I invite you to cooperate: to assemble a team of traders to trade with a proven broker Prime FMS on spetsialnyeh conditions.

      Spend training to work on cross-currency forekss wound to output...

      Friendship 08-05-2014, 01:38 PM Go to last post
      Friendship

      How to earn on Forex market with Prime FMS

      I invite you to cooperate: to assemble a team of traders to trade with a proven broker Prime FMS on spetsialnyeh conditions.

      Spend training to work on cross-currency forekss wound to output...

      Friendship 08-05-2014, 01:37 PM Go to last post



    Disclaimer: Users of techforum4u.com are responsible for ensuring that any material they post (article, blog posts, images or other mulitimedia content) does not violate or infringe upon the copyright, patent, trademark, or any personal or proprietary rights of any third party, and is posted with the permission of the owner of such rights.Anyone who violates these rules may have their access privileges removed without warning.