|
|
A, B : | principal |
P, G, Xa, Xb : | number |
one : | -> number |
kap : | number, number, number -> number |
1. | A | -> | B | : | P, G |
2. | A | -> | B | : | kap(P, G, Xa) |
3. | B | -> | A | : | kap(P, G, Xb) |
4. | A | -> | B | : | {one()}kap(P, kap(P, G, Xb), Xa) |
kap(P, kap(P, G, Y), X) = kap(P, kap(P, G, X), Y)It is implemented by: kap(P, X, Y) = exp(X, Y) mod P.
1. | I(A) | -> | B | : | P, G |
2. | I(A) | -> | B | : | kap(P, G, Xi) |
3. | B | -> | I(A) | : | kap(P, G, Xb) |
4. | I(A) | -> | B | : | {one()}kap(P, kap(P, G, Xb), Xi) |
1. | A | -> | I(B) | : | P, G |
2. | A | -> | I(B) | : | kap(P, G, Xa) |
3. | I(B) | -> | A | : | kap(P, G, Xi) |
4. | A | -> | I(B) | : | {one()}kap(P, kap(P, G, Xi), Xa) |
|
Previous Index Next |
|