You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2021. It is now read-only.
Pavel Bennett edited this page Dec 17, 2015
·
1 revision
S = Server (Listener)
C = Client
On connection establishment:
S -> C
[Server's public key]
C -> S (simultaneously)
[Client's public key]
S -> C
[Server-generated 32-byte AES256 key encrypted with Client's public key][16 securely random bytes (will be the IV)]
The client initializes an AES stream with the received key and IV. The server does the same. Now both have the same key and IV and can begin sending encrypted messages.