วันพุธที่ 24 มิถุนายน พ.ศ. 2552

Diffie-Hellman Key Exchange

(a)^b^c = (a)^c^b = (a)^bc


A puts a session key in side the box, encrypt with Ka and sends to B

A ------------------ B

[]Ka ------------>
[] ---------------->

B gets the box, encrypts with Kb and sends to A

<------------[]Ka
<------------[]Kb

A gets the box, decrypts with Ka and sends to B

[] ------------->
[]Kb--------->

B gets the box, descrypts with Kb and get the session key.

----------------[]
----------------[]

ไม่มีความคิดเห็น: