aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <sina@snix.ir>2022-07-24 05:14:59 +0000
committerroot <sina@snix.ir>2022-07-24 05:14:59 +0000
commitdbdf022eb2f825701b3b62028b962e06247e96d4 (patch)
tree09e1b1f6c935932b553a1f134dc427c4302af6d2
parent43e8ed8ce17e2c0ab44a4ee55b6063e0512009bd (diff)
absolute links
-rw-r--r--Readme.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/Readme.md b/Readme.md
index 8b3336e..008a71c 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
<p align="center">
- <img src="seal.png" alt="seal"/>
+ <img src="https://git.snix.ir/rabaead/plain/seal.png" alt="seal"/>
</p>
@@ -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..
<p align="center">
- <img src="chunkio.png" alt="chunkio"/>
+ <img src="https://git.snix.ir/rabaead/plain/chunkio.png" alt="chunkio"/>
</p>
- **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

Snix LLC Git Repository Holder Copyright(C) 2022 All Rights Reserved Email To Snix.IR