File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,31 +60,27 @@ Where:
6060
6161### Example 1 - AES-GCM 256
6262
63- ` Secret ` is the following value: 0x3edc6b5b8f7aadbd713732b482b8f979286e1ea3b8f8f99c30c884cfe3349b83.
64-
65- ` SecretLength ` is 32.
66-
67- ` RotationMs ` is 30000.
68-
69- ` Algorithm ` is ** QUIC_AEAD_ALGORITHM_AES_256_GCM** .
70-
71- The UNIX epoch timestamp is 1752112221.
63+ Variable | Value
64+ ---------|-------
65+ ` Secret ` | 0x3edc6b5b8f7aadbd713732b482b8f979286e1ea3b8f8f99c30c884cfe3349b83
66+ ` SecretLength ` | 32
67+ ` RotationMs ` | 30000
68+ ` Algorithm ` | ** QUIC_AEAD_ALGORITHM_AES_256_GCM**
69+ The UNIX epoch timestamp | 1752112221
7270
7371Therefore, * Context* = timestamp / ` RotationMs ` = ` 1752112221 / 30000 ` = 58403.
7472
7573The generated key should be the following value : 0x8135A3ACD2FB4B2B6D7CDD9C36ACB0A182F725F52C641F4A1F21AB53CD63F9B1.
7674
7775### Example 2 - AES-GCM 128
7876
79- ` Secret ` is the following value: 0x5ddd79f7b33f1f4a6dd57c34a8eec42e.
80-
81- ` SecretLength ` is 16.
82-
83- ` RotationMs ` is 30000.
84-
85- ` Algorithm ` is ** QUIC_AEAD_ALGORITHM_AES_128_GCM** .
86-
87- The UNIX epoch timestamp is 1752112221.
77+ Variable | Value
78+ ---------|-------
79+ ` Secret ` | 0x5ddd79f7b33f1f4a6dd57c34a8eec42e
80+ ` SecretLength ` | 16
81+ ` RotationMs ` | 30000
82+ ` Algorithm ` | ** QUIC_AEAD_ALGORITHM_AES_128_GCM**
83+ The UNIX epoch timestamp | 1752112221
8884
8985Therefore, * Context* = timestamp / ` RotationMs ` = ` 1752112221 / 30000 ` = 58403.
9086
You can’t perform that action at this time.
0 commit comments