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
Copy file name to clipboardExpand all lines: docs/introduction.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ Overview
10
10
11
11
CryptoNet supports two primary cryptographic scenarios:
12
12
13
-
- Symmetric encryption — a single shared secret (key) is used for both encryption and decryption.
14
-
- Asymmetric encryption — a public/private key pair is used; the public key encrypts and the private key decrypts.
13
+
- Symmetric encryption - a single shared secret (key) is used for both encryption and decryption.
14
+
- Asymmetric encryption - a public/private key pair is used; the public key encrypts and the private key decrypts.
15
15
16
16
Symmetric encryption
17
17
- Use a secret key (same key for encrypt/decrypt).
@@ -26,7 +26,7 @@ Asymmetric encryption
26
26
Key lifecycle and security notes
27
27
- Private keys must be kept confidential. Do not distribute private keys.
28
28
- If a private key is leaked, an attacker can decrypt any content encrypted with the corresponding public key. Rotate (revoke and reissue) the key pair if compromise is suspected.
29
-
- Conversely, if you lose a private key and you do not have a backup, you will not be able to decrypt content that was encrypted for that key—make secure backups as appropriate.
29
+
- Conversely, if you lose a private key and you do not have a backup, you will not be able to decrypt content that was encrypted for that key—make secure backups as appropriate.
30
30
31
31
Using X.509 certificates
32
32
- CryptoNet can use the public/private keys stored in X.509 certificates as an alternative to self-generated keys. This can simplify key distribution and lifecycle when using enterprise PKI.
@@ -39,4 +39,4 @@ Example code lives under the `CryptoNet.Examples` namespace and demonstrates AES
0 commit comments