Me | You |

Prime, P = 29,α = 2
| |

secret_{me} = 5
α^{secretme
} = 2^{5} = 32= x (mod P) = 3 (mod 29) | secret_{you} = 12
α^{secretyou
} = 2^{12} = 4096 = y (mod P) = 7 (mod 29) |

y^{secretme
} = Z (mod P)
7^{5} = Z (mod 29) | x^{secretyou
} = Z (mod P)
3^{12} = Z (mod 29) |

Z = 16 | |

I'm passing on "Alice and Bob" because I think that it's a terrible notation. In the example above, the prime P, and α are initially shared. The result is "Z", which is calculated between both parties.

## No comments:

## Post a Comment