%%{init: {'themeVariables': {'fontFamily': 'Bernard MT Condensed', 'fontSize': '24px','fontWeight': 'bold'}}}%%
sequenceDiagram
participant Alice as π© Alice
participant Bob as π¨ Bob
participant Server as π» Server
rect rgb(200, 220, 255)
note over Alice: Step 1
Alice ->> Alice: π© generates private key a π
Bob ->> Bob: π¨ generates private key b π
end
rect rgb(200, 220, 255)
note over Alice: Step 2
Alice ->> Alice: π© computes public key A = g^a mod p π
Alice ->> Bob: π© sends public key A to π¨ βοΈ
end
rect rgb(200, 220, 255)
note over Bob: Step 3
Bob ->> Bob: π¨ computes public key B = g^b mod p π
Bob ->> Alice: π¨ sends public key B to π© βοΈ
end
rect rgb(200, 220, 255)
note over Alice, Bob: Step 4
Alice ->> Alice: π© computes shared secret s = B^a mod p = g^(ab) mod p π
Bob ->> Bob: π¨ computes shared secret s = A^b mod p = g^(ab) mod p π
end
rect rgb(200, 220, 255)
note over Alice, Server: Step 5
Alice ->> Server: π© sends encrypted message to Server π»: {Alice, Bob, s} βοΈ
Bob ->> Server: π¨ sends encrypted message to Server π»: {Alice, Bob, s} βοΈ
end
rect rgb(200, 220, 255)
note over Server: Step 6
Server ->> Server: π» matches secrets received from π© and π¨
Server ->> Server: π» generates session key Ks π
Server ->> Alice: π» sends session key Ks to π© βοΈ
Server ->> Bob: π» sends session key Ks to π¨ βοΈ
end
rect rgb(200, 220, 255)
note over Alice, Bob: Step 7
Alice ->> Alice: π© receives session key Ks from Server π
Bob ->> Bob: π¨ receives session key Ks from Server π
end
rect rgb(200, 220, 255)
note over Alice, Bob: Result
Alice ->> Bob: π© π¨ can now communicate securely using session key Ks π
end
Pinned Loading
-
C2
C2 Public1st MLSecOps [Microsoft Azure Nanodegree ML Engineer] Operationalization Project
Jupyter Notebook
-
CycleGAN_CyCADA_Style_Transfer_and_HPO
CycleGAN_CyCADA_Style_Transfer_and_HPO PublicCross-domain Cycle-Consistent CyCADA CycleGAN and HPO
Jupyter Notebook
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.