From d61ee7bb3e8b17ae0f988b0e852b0688a7e0c3de Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Sun, 31 Mar 2024 09:47:31 +0900 Subject: [PATCH] Update README --- README.md | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/README.md b/README.md index 3317511..01dfac1 100644 --- a/README.md +++ b/README.md @@ -33,25 +33,10 @@ ## Encrypted file format -`tird` encrypted files (cryptoblobs) are indistinguishable from uniform random data. `tird` produces cryptoblobs contain bilateral randomized padding with uniform random data ([PURBs](https://en.wikipedia.org/wiki/PURB_(cryptography))). This minimizes metadata leaks from the file format and makes it possible to hide cryptoblobs among other random data. +`tird` encrypted files (cryptoblobs) are indistinguishable from uniform random data and have no identifiable headers. `tird` produces cryptoblobs contain bilateral [randomized padding](https://en.wikipedia.org/wiki/Padding_(cryptography)#Randomized_padding) with uniform random data ([PURBs](https://en.wikipedia.org/wiki/PURB_(cryptography))). This minimizes metadata leaks from the file format and makes it possible to hide cryptoblobs among other random data. Cryptoblob structure: -``` - 512 B 0+ B - +----------+---------------+ - | Comments | File contents | - +----------+---------------+ - 16 B 0+ B | Plaintext/Payload | 64 B 0+ B 16 B -+------+---------+--------------------------+---------+---------+------+ -| Salt | Padding | Ciphertext | MAC tag | Padding | Salt | -+------+---------+--------------------------+---------+---------+------+ -| Random bytes | Random-looking bytes | Random bytes | -+----------------+------------------------------------+----------------+ -``` - - - ``` 512 B 0+ B +~~~~~~~~~~+~~~~~~~~~~~~~~~+ @@ -65,12 +50,6 @@ Cryptoblob structure: +~~~~~~~~~~~~~~~~+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+~~~~~~~~~~~~~~~~+ ``` - - - - - - ## Tradeoffs and limitations - `tird` does not support public-key cryptography.