Cryptography


Computer Science & Statistics at University of Rhode Island

Key Agreement Interactive Demo

Instructions

First enter public base P(prime number below 45000), and S (between 2 and P-1) and click submit.

Then enter a (between 2 and P-1) and click submit.

Then enter b (between 2 and P-1) and click sibmit.

You can also change p, s, a and b at anytime by just clicking on the corresponding text box.

P:

S:

   

a:

A:

Key:

   

   

b:

B:

Key:

   

   

Explanation and Instructions