• 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

      kate01

      Re: Transfer iPhone SMS and MMS to Android

      You can transfer SMS messages to Android devices manually and freely by following the steps shared in this guide: goo.gl/L6rZNS

      kate01 Yesterday, 03:51 AM Go to last post
      Moveblelago

      Re: Nuestra historia

      “现在微博、朋友圈往往都是负面消息发酵的很快,但今天这位老人
      而在面对被栽赃成为杀妻凶手悬疑迷雾时,他又必须在悬疑色彩重重

      Moveblelago 06-14-2015, 07:05 PM Go to last post
      Moveblelago

      Re: hi I join Tech Forum

      理改编,将幼儿园段落单拿出来组成一部电影,删去了原作中很多败
      苦难学说”在该剧中逐渐升级,孙家兄弟的平凡生活将再次遭受磨难

      Moveblelago 06-14-2015, 04:46 PM Go to last post
      Moveblelago

      Re: hi I join Tech Forum

      众。梁文道户外走读遭“炮轰” 接受意见反“嘲”高晓松发布会上
      日探班《霍比特人&#50;》片场,采访甘道夫扮演者伊恩&#183;迈凯伦,越来

      Moveblelago 06-14-2015, 04:33 PM Go to last post
      Moveblelago

      Re: hi I join Tech Forum

      局。几乎场场爆满,其中三线城市上座率达到&#56;&#54;&#37;,首周末票房轻
      平凡的世界》的创作态度严谨,从筹备到制作超过七年。剧组除了赶

      Moveblelago 06-14-2015, 04:11 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.