Skip to content

Commit 41ca862

Browse files
committed
Edit from KC
1 parent 4136c30 commit 41ca862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/getting-started/gs-encryption-decryption.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The following table describes the field layout for request encryption code.
5757

5858
| Offset (Bytes) | Size (Bytes) | Description |
5959
| :--- | :--- | :--- |
60-
| 0 | 8 | The <a href="../ref-info/glossary-uid#gl-unix-time">Unix</a> timestamp (in milliseconds), in int64 big endian format.<br/>When the server receives and decrypts the envelope, it checks the embedded timestamp. If the timestamp is older than 60 seconds, the request is considered stale and is rejected. |
60+
| 0 | 8 | The <a href="../ref-info/glossary-uid#gl-unix-time">Unix</a> timestamp (in milliseconds) of the request, in int64 big endian format.<br/>When the server receives and decrypts the envelope, it checks the embedded timestamp. If the timestamp is older than 60 seconds, the request is considered stale and is rejected. |
6161
| 8 | 8 | Nonce: Random 64 bits of data used to help protect against replay attacks. The corresponding [Unencrypted Response Data Envelope](#unencrypted-response-data-envelope) should contain the same nonce value for the response to be considered valid. |
6262
| 16 | N | Payload, which is a request JSON document serialized in UTF-8 encoding. |
6363

@@ -96,7 +96,7 @@ The following table describes the field layout for response decryption code.
9696

9797
| Offset (Bytes) | Size (Bytes) | Description |
9898
| :--- | :--- | :--- |
99-
| 0 | 8 | The Unix timestamp (in milliseconds), in int64 big endian format. |
99+
| 0 | 8 | The Unix timestamp (in milliseconds) of the response, in int64 big endian format. |
100100
| 8 | 8 | Nonce. For the response to be considered valid, this should match the nonce in the [unencrypted request data envelope](#unencrypted-request-data-envelope). |
101101
| 16 | N | Payload, which is a response JSON document serialized in UTF-8 encoding. |
102102

0 commit comments

Comments
 (0)