3 ms·
How do you do AEAD with seeking? Tags (MACs) every few kilobytes?
by Aachen 5y ago
How do you do AEAD with seeking? Tags (MACs) every few kilobytes?
- some_furry 5y agohttps://web.cs.ucdavis.edu/~rogaway/papers/oae.pdf https://web.cs.ucdavis.edu/~rogaway/papers/oae.pdf (Section 7) Previously: https://news.ycombinator.com/item?id=21897192 https://news.ycombinator.com/item?id=21897192 STREAM is a well-studied construction for online authenticated encryption. It doesn't just involve an auth tag every few kilobytes (or megabytes, or gigabytes). There's also a byte flag (called a "tag" in some implementations) to indicate whether or not there should be additional blocks or not.
- technion 5y agoYou don't happen to know of a slightly more approachable specification? A search for anything like "stream cipher construction" only lands me on the traditional "stream vs block" discussions.
- rdpintqogeogsaa 5y agoA Poly1305 tag every few 64 kilobytes. An encrypted chunk in age is thus 64 KiB + 16 bytes.