sodium-javascript icon indicating copy to clipboard operation
sodium-javascript copied to clipboard

secretstream support?

Open spieglt opened this issue 5 years ago • 4 comments

Are there plans to implement the secretstream API? If so, would it be in webassembly? I saw xchacha20poly1305 mentioned in this issue. Wondering if I'll be able to use this for a react-native version of a project of mine.

spieglt avatar Oct 31 '20 18:10 spieglt

If I take a pass at writing it, would anyone be willing to review?

spieglt avatar Nov 20 '20 04:11 spieglt

Of course! Happy to review

emilbayes avatar Nov 20 '20 10:11 emilbayes

Okay, I figured I should start with hchacha20 since the issue I linked to said it was somewhat involved. The test at the bottom should be in https://github.com/sodium-friends/sodium-test, and I can submit a separate PR for that, but I wanted to run what I have so far by you so you can tell me if I'm on the wrong track. PR is https://github.com/sodium-friends/sodium-javascript/pull/55. Thanks!

spieglt avatar Nov 21 '20 17:11 spieglt

The rest of secretstream is in #57.

spieglt avatar Dec 17 '20 01:12 spieglt