oops fix readme 💯

This commit is contained in:
Kieran 2019-03-25 17:44:17 +08:00
parent e3f7f2a59e
commit 3d52d0acca

View File

@ -20,10 +20,11 @@ location ~* "^\/([0-9a-z]{27})$" {
Void Binary File Format (VBF2)
===
*All numbers are little endian*
| Name | Size | Description |
|---|---|---|
| version | 1 byte unsigned number | Binary file format version |
| magic | 4 bytes | "VOID" encoded to UTF8 string
| magic | 4 bytes | "VOID" encoded to UTF8 string |
| uploaded | 4 byte unsigned number | Unix timestamp of when the upload started |
| payload | EOF - 32 bytes | The encrypted payload |
| hash | 32 bytes HMAC-SHA265 | The HMAC of the unencrypted file* |