Diffie-Hellman

UserA needs to talk to UserB

They start out by agreeing on a Prime Number and an Integer –> (p and n)

Don't use plagiarized sources. Get Your Custom Essay on
Diffie-Hellman
Just from $13/Page
Order Essay

Let’s use 13 and 6  (You can pick your own)

I FORGOT TO SET SOME RULES FOR OUR LITTLE COMPUTATION:

1.  p has to be greater than 2

2. n has to be less than p

3. The SECRET S has to be less than p-1

Without these rules the algorithm will not work.

Note that the negotiation of 13 and 6 can be on a public network.  A hacker can eavesdrop and find 13 and 6. It has no significance on the SECRET

Now UserA has to come up with a RANDOM SECRET and the same thing for USERB. Note these are SECRET.

UserA picks 3 and UserB picks 10 (So far…so good)

Let STOP for a second and catch our breath!!!!!!!

WHAT DOES UserA know?

13 <- the prime

6  <- the integer

3 <- the secret

UserA now computes the following:

6^3 MOD 13 -> 8  (Try it )

GUESS WHAT –> 8 IS THE PUBLICK KEY AND IT  IS SENT TO UserB. 

NOW what does UserB know?

Well the agree upon Prime -> 13

The Integer -> 6

and the Secret -> 10

AND!!!!!!!!!!!!!!!….the Public KEY of UserA which is 8

Now UserB computes

6^10 MOD 13 (Just like user A did earlier) -> 4

4 IS THE PUBLIC KEY of UserB and is sent to UserA

AT THIS STAGE WE HAVE BEEN ABLE TO GENERATE THE PUBLIC KEYS OF UserA and UserB and share them. NO BIG DEAL IF A HACKER WERE TO GET HOLD OF THEM.

User A has the following now:

13 <- the prime

6  <- the integer

3 <- the secret

4 <- Public Key of UserB

User B has the following now:

13 <- the prime

6  <- the integer

10 <- the secret

8 <- Public Key of UserA

UserA computes the following:

4^3 MOD 13 = 12————-> THIS IS THE SECRET KEY FOR UserA

UserB computes the following:

8^10 MOD 13 = 12 ———–> THIS IS THE SECRET KEY FOR UserB

Pick a partner.
Negotiate p and n
Come up with a secret
Computer the Public Key and send it to your partner
POST YOUR NAMES, YOUR PUBLIC KEY and THE SHARED SECRET
and now why did you think it worked? Think about a simple property of exponentiation

Essay Assign
Calculate your paper price
Pages (550 words)
Approximate price: -

Our Advantages

Plagiarism Free Papers

All our papers are original and written from scratch. We will email you a plagiarism report alongside your completed paper once done.

Free Revisions

All papers are submitted ahead of time. We do this to allow you time to point out any area you would need revision on, and help you for free.

Title-page

A title page preceeds all your paper content. Here, you put all your personal information and this we give out for free.

Bibliography

Without a reference/bibliography page, any academic paper is incomplete and doesnt qualify for grading. We also offer this for free.

Originality & Security

At Essay Assign, we take confidentiality seriously and all your personal information is stored safely and do not share it with third parties for any reasons whatsoever. Our work is original and we send plagiarism reports alongside every paper.

24/7 Customer Support

Our agents are online 24/7. Feel free to contact us through email or talk to our live agents.

Try it now!

Calculate the price of your order

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

We work around the clock to see best customer experience.

Pricing

Flexible Pricing

Our prices are pocket friendly and you can do partial payments. When that is not enough, we have a free enquiry service.

Communication

Admission help & Client-Writer Contact

When you need to elaborate something further to your writer, we provide that button.

Deadlines

Paper Submission

We take deadlines seriously and our papers are submitted ahead of time. We are happy to assist you in case of any adjustments needed.

Reviews

Customer Feedback

Your feedback, good or bad is of great concern to us and we take it very seriously. We are, therefore, constantly adjusting our policies to ensure best customer/writer experience.