What
- Alice has a secret key and a public key
- Bob has a secret key and , calculate the cipher and
- With the cipher, Alice knows and thus can decrypt the text but Eve won’t know since Eve don’t know both and
Note that (egcd)
How
Why
- A two way Diffie Hellman