• 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

      Joomla Module for Online Meeting

      Joomla website developers can add latest module extension for add online meeting widget on Joomla websites. This widget will allow them to schedule and conduct online meeting, webinars and web...

      johansonkath 08-29-2014, 10:12 AM Go to last post
      sophialuis

      DATA BASE ADMINISTRATOR Job

      Skills/Qualifications: Database Performance Tuning, Database Security, Promoting Process Improvement, Problem Solving, Presenting Technical Information, Quality Focus, Database Management, Data...

      sophialuis 08-28-2014, 06:22 AM Go to last post
      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



    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.