update readme

This commit is contained in:
Kieran 2019-03-29 01:53:06 +08:00
parent 47cde3b581
commit 828ee5a5f1

View File

@ -24,7 +24,7 @@ Void Binary File Format (VBF2)
| Name | Size | Description | | Name | Size | Description |
|---|---|---| |---|---|---|
| version | 1 byte unsigned number | Binary file format version | | version | 1 byte unsigned number | Binary file format version |
| magic | 4 bytes | "VOID" encoded to UTF8 string | | magic | 7 bytes | "OID🐱" encoded to UTF8 string |
| uploaded | 4 byte unsigned number | Unix timestamp of when the upload started | | uploaded | 4 byte unsigned number | Unix timestamp of when the upload started |
| payload | EOF - 32 bytes | The encrypted payload | | payload | EOF - 32 bytes | The encrypted payload |
| hash | 32 bytes HMAC-SHA265 | The HMAC of the unencrypted file* | | hash | 32 bytes HMAC-SHA265 | The HMAC of the unencrypted file* |