Skip to content

Commit

Permalink
fix: rewrite mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
aqwerf committed Jun 6, 2024
1 parent dc092bc commit 571e672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/posts/tls-cryptography-7-diffie-hellman/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ Diffie-Hellman의 기본 원리는 다음과 같다. Alice와 Bob이 키를 공
Participant Alice
Participant Bob
Note over Bob: 소수 p, g 선정, m 선정
Bob ->> Alice: p, g, gm mod k
Bob ->> Alice: p, g, g**m mod k
Note over Alice: n 선정
Alice ->> Bob: gn mod k
Alice ->> Bob: g**n mod k
{{< /mermaid >}}

암호화 되지 않은 채널로 위와 같은 전달하면, 각각이 알고 있는 값은 다음과 같다.
Expand Down

0 comments on commit 571e672

Please sign in to comment.