Skip to content

Commit

Permalink
Add private keys documents
Browse files Browse the repository at this point in the history
  • Loading branch information
zolagonano committed Apr 19, 2024
1 parent 9d980ab commit 01eab04
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/Formats/private-keys-format.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Private Keys
layout: default
parent: Formats
---

## Private Keys

Private keys are essential components of encryption systems, used for decryption, signature generation, and key derivation. This document provides an overview of private keys, including their structure and encoding formats.

### SecretKeyFormat

- `ec_algorithm`: Specifies the elliptic curve algorithm used for private key generation.
- `pq_algorithm`: Indicates the post-quantum algorithm used for private key generation.
- `dh_algorithm`: Specifies the Diffie-Hellman algorithm used for private key generation.
- `kem_algorithm`: Indicates the Key Encapsulation Mechanism (KEM) algorithm used for private key generation.
- `master_seed`: A secret value used as the master seed for deriving other private keys.
- `encryption_metadata`: Additional metadata related to encryption, such as nonce and key derivation parameters. This field is present if the master seed is symmetrically encrypted.

```
+---------------------+
| ec_algorithm |
| pq_algorithm |
| dh_algorithm |
| kem_algorithm |
| master_seed |
| encryption_metadata |
+---------------------+
```

[Encryption Metadata Format](/Formats/encryption-metadata-format)

0 comments on commit 01eab04

Please sign in to comment.