From 43e8ed8ce17e2c0ab44a4ee55b6063e0512009bd Mon Sep 17 00:00:00 2001 From: root Date: Sun, 24 Jul 2022 05:00:27 +0000 Subject: rollback readme --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index d42358d..8b3336e 100644 --- a/Readme.md +++ b/Readme.md @@ -7,7 +7,7 @@ with associated io chunk and io stream interfaces. - **open**: opens a rabbit aead ciphertext. **panic** occurs if nonce len is not equal to IVXLen (8byte) or zero

- seal + seal

@@ -17,7 +17,7 @@ with associated io chunk and io stream interfaces. - **chunkReader**: seal() and write data in chunks, there is 8byte + 16byte overhead per chunk. this writer has a chunk size in-memory buffer, large chunk size can make application to runs out of memory, thus this is most suitable for sliced data, like network data transmit and so..

- chunkio + chunkio

- **streamReader**: this reader open() and read aead ciphertext which have 16-byte poly1305 tag overhead. **read data is unreliable until underlying reader returns EOF**, after that Read return EOF or ErrAuthMsg if integrity of data has been compromised. in such a case, you need to unread data. a simple demonstration would be to delete or truncate the file if ErrAuthMsg is returned -- cgit v1.2.3