ch3/4: Include diagrams as figures with caption

Fixes #28
This commit is contained in:
Heiko Schaefer 2023-09-25 19:39:25 +02:00
parent db65d8ec6b
commit 9d0b84e7a6
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
2 changed files with 67 additions and 15 deletions

View file

@ -14,17 +14,30 @@ https://en.wikipedia.org/wiki/Public-key_cryptography
In many places, we'll deal with asymmetric cryptographic key pairs:
![Image](diag/cryptographic_keys.png "A cryptographic keypair")
```{figure} diag/cryptographic_keys.png
---
---
A cryptographic keypair
```
A cryptographic key pair consists of a public and a private part. In this document, we'll show the public part of a cryptographic key in green, and the private part in red.
We'll usually visualize cryptographic keypairs in this more compact form:
![Image](diag/keypair.png "A cryptographic keypair")
```{figure} diag/keypair.png
---
---
A cryptographic keypair, more compact representation
```
Note that in many contexts, only the public part is present (more on that later):
![Image](diag/keypair_pub.png "Only the public part of a cryptographic keypair")
```{figure} diag/keypair_pub.png
---
---
Only the public part of a cryptographic keypair
```
### Public-key cryptography in OpenPGP