feat: update spec
This commit is contained in:
@@ -4,9 +4,9 @@ File ext: `*.tinyenc`
|
||||
File format:
|
||||
|
||||
```text
|
||||
[TAG; 2 bytes; short; BE; Always 1]
|
||||
[LENGTH; 4 bytes; int; BE]
|
||||
[META; LENGTH bytes]
|
||||
[TAG; 2 bytes; u16; BE; Always 1]
|
||||
[LENGTH; 4 bytes; u32; BE]
|
||||
[META DATA; LENGTH bytes]
|
||||
[ENCRYPTED_DATA; n bytes; AES/GCM]
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user