Closed Jack-Edwards closed 2 years ago
This was a pleasant surprise! Thanks Jack! I will try to take a look today.
Thanks. I'm looking into alternatives to libsodium-core and I think Geralt is the closest to what I'm looking for. crypto_secretstream support may be the only thing missing for my use-case.
I'm looking into alternatives to libsodium-core and I think Geralt is the closest to what I'm looking for.
That's good to hear. Please feel free to share any feedback on the API and documentation. I need to rewrite all the tests to try and reduce repetition at some point, and I'd like to change the BLAKE2b stream implementation so it uses spans.
crypto_secretstream support may be the only thing missing for my use-case.
Yes, I think it makes sense now there's IncrementalBLAKE2b and Poly1305.
@samuel-lucas6 I implemented most of your feedback and resolved some compiler messages I hadn't seen before. I'll leave it up to you to resolve any open conversations.
Edit: Okay now I've implemented most of your feedback. Some of your comments were only showing up under Files Changed.
Appreciate it. Last thing is could you merge the no associated data and associated data methods for Pull
like you did for Push
? Not a fan of the GitHub editor. Then I'll merge.
The overload for Pull is gone.
I am not very comfortable with references and pointers in C#, but I did my best to copy your patterns.
I'm going to leave some comments in the PR in some areas I'm unsure of.