-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d980ab
commit 01eab04
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |