Skip to content

Commit 8800270

Browse files
committed
fix(docs): format encryption-algorithms.md to satisfy Prettier CI
1 parent 0f5157e commit 8800270

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/reference/architecture/encryption-algorithms.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,19 @@ cryptographic algorithms for optimal security and performance.
1616

1717
-### Symmetric Encryption
1818

19-
- **XChaCha20-Poly1305 (IETF)**
20-
- **Key Size:** 256 bits
21-
- **Nonce Size:** 192 bits
22-
- **MAC Size:** 128 bits
23-
- This extended 192-bit nonce allows random nonces to be safely used, reducing the risk of nonce reuse and making the encryption scheme misuse-resistant.
24-
- A stream cipher approach is employed, encrypting data per block with a fresh, random nonce each time.
25-
- Polykey stores its persistent state in an encrypted database, protected by a “Data Encryption Key” (DEK). This DEK is not derived from the root key, so rotating the root key does not require re-encrypting the entire database.
26-
- By combining encryption and authentication, XChaCha20-Poly1305 ensures both confidentiality and integrity of the stored data.
19+
- **XChaCha20-Poly1305 (IETF)**
20+
- **Key Size:** 256 bits
21+
- **Nonce Size:** 192 bits
22+
- **MAC Size:** 128 bits
23+
- This extended 192-bit nonce allows random nonces to be safely used, reducing
24+
the risk of nonce reuse and making the encryption scheme misuse-resistant.
25+
- A stream cipher approach is employed, encrypting data per block with a
26+
fresh, random nonce each time.
27+
- Polykey stores its persistent state in an encrypted database, protected by a
28+
“Data Encryption Key” (DEK). This DEK is not derived from the root key, so
29+
rotating the root key does not require re-encrypting the entire database.
30+
- By combining encryption and authentication, XChaCha20-Poly1305 ensures both
31+
confidentiality and integrity of the stored data.
2732

2833
### Asymmetric Encryption
2934

0 commit comments

Comments
 (0)