sodium-friends / sodium-javascript

Pure Javascript version of sodium-native
MIT License
92 stars 24 forks source link

secretstream support? #53

Open spieglt opened 4 years ago

spieglt commented 4 years ago

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 commented 4 years ago

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

emilbayes commented 4 years ago

Of course! Happy to review

spieglt commented 4 years ago

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 commented 3 years ago

The rest of secretstream is in #57.