Results 56 comments of Johannes

**AEAD example** This looks very much like the high-level API to me at this point (except of course for the traits). Would we just add support for `Read`/`Write` to simply...

> For the "buffer", I'm not sure which buffer you mean. If users want to buffer the reader, they can use a BufReader and then pass that to the from_reader...

> Is there a standard libsodium serialization of these messages into a byte stream? I see your point, in that this can be tricky. Especially since streaming write directly to...

> Though I do see where the user may want to control the size of the buffer we read into (which I see now is probably what you meant above)....

That is a very straight-forward API indeed. Thanks for the example! I think this is a good approach. We can figure out a good buffer size and document it clearly....

> implementation of `Read` Just making sure, but this is the `Write` impl right? I saw no `Read` impl in the draft PR AFAIR. Regardless, sounds like a good plan.

'PartialEq' and 'Debug' can be derived with '#derive[()]' usually. Try with those macro-derived traits. Let me know if anything causes problems along the way!

@black-eagle17 I want to do a patch release due to #293, so I've gone ahead and fixed this PR up. Hope that's alright.