Skip to content

Commit 38804b5

Browse files
authored
docs(readme): correct the size from 2 bytes to 3 bytes in cookie format
1 parent 5f2aed6 commit 38804b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ Header fields explained:
12501250
- SID: `32` bytes of crypto random data (Session ID).
12511251
- Created at: binary packed secs from epoch in a little endian form, truncated to 5 bytes.
12521252
- Rolling Offset: binary packed secs from creation time in a little endian form (integer).
1253-
- Size: binary packed data size (short) in a two byte little endian form.
1253+
- Size: binary packed data size in a three byte little endian form.
12541254
- Tag: `16` bytes of authentication tag from AES-256-GCM encryption of the data.
12551255
- Idling Offset: binary packed secs from creation time + rolling offset in a little endian form, truncated to 3 bytes.
12561256
- Mac: `16` bytes message authentication code of the header.

0 commit comments

Comments
 (0)