Skip to content

Instantly share code, notes, and snippets.

@kepocnhh
Created June 18, 2024 10:06
Show Gist options
  • Save kepocnhh/c739ddad283ef77479919c011e93bc1d to your computer and use it in GitHub Desktop.
Save kepocnhh/c739ddad283ef77479919c011e93bc1d to your computer and use it in GitHub Desktop.
TLS
PU - Public Key
PK - Private Key
SK - Secret Key
SID - Session ID
P - Payload

PU1 -->
<-- PU2/PU1(SK)/SK(SID)/PK2(P)

SK(P)/PK1(SID+P) -->
<-- SK(f(P))/PK2(SID+f(P))

PU(SK)/SK(P)/PK(P) -->
<-- SK(f(P))/PK(f(P))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment