diffie hellman key exchange code
#1

Hi Sir Can you send the source code for diffie hellman key exchange implemented using matlab for transfer of data It's urgent Plz Plz....
Reply
#2

diffie hellman key exchange code

Diffie Hellman Key Exchange Algorithm (Java)
import java.util.*;
class DiffieHellman
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
System.out.println(“Enter the value of Xa & Xb”);
int Xa=sc.nextInt();
int Xb=sc.nextInt();
System.out.println(“Enter a Prime no. p”);
int p=sc.nextInt();
System.out.println(“Enter Primitive Root a, such that a<p”);
int a=sc.nextInt();
int Ya=(int)((Math.pow(a,Xa))%p);
int Yb=(int)((Math.pow(a,Xb))%p);
int Ka=(int)((Math.pow(Yb,Xa))%p);
int Kb=(int)((Math.pow(Ya,Xb))%p);
if(Ka==Kb)
{
System.out.println(“Transmission successful”);
}
else
{
System.out.println(“Transmission failed”);
}
}
}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: matlab code for diffie helman algorithm, key code lock**s chocolate vending machine project, diffie hellman key exchange decryption, code for deffe hellman algorithm in matlab, security error key exchange disabled boost, diffie hellman key exchange tutorial, ns2 coding for the implementation of eliptic curve diffie hellman key exchange between nodes in manet,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  matlab code for adaptive differential pulse code modulation 1 1,144 04-04-2017, 11:49 AM
Last Post: jaseela123d
  cdot exchange bsnl 1 950 17-03-2017, 03:05 PM
Last Post: jaseela123d
  download tet key answer sparda spoorthi 1 1,600 17-03-2017, 10:52 AM
Last Post: jaseela123d
  t e t key answers 2015 at udyoga varthe 1 1,815 16-03-2017, 02:56 PM
Last Post: jaseela123d
  udyoga varte tet key answers 2015 1 1,907 27-02-2017, 03:41 PM
Last Post: jaseela123d
  icici e learning matrix answer key pdf 3 6,071 13-08-2016, 03:35 PM
Last Post: dhanabhagya
  business studies project on stock exchange 1 2,214 22-06-2016, 04:44 PM
Last Post: seminar report asees
  download tet key answer sparda spoorthi 5 3,048 21-03-2016, 03:06 PM
Last Post: dhanabhagya
  download fingerprint lock apps 8 digit registration key details 3 5,048 16-03-2016, 01:57 PM
Last Post: Aacd
  implementation of diffie hellman algorithm in matlab 3 2,685 05-11-2015, 09:17 AM
Last Post: seminar report asees

Forum Jump: