FedericoCeratto / nim-libsodium

Nim wrapper for the libsodium library
Mozilla Public License 2.0
46 stars 13 forks source link

Add basic secretstream functions, but not in a nice-to-Nim way #18

Closed iffy closed 4 years ago

iffy commented 4 years ago

This PR adds the crypto_secretstream_* functions -- and even has tests ;)

But I don't know what balance nim-libsodium wants to strike between matching the libsodium C API and providing a nice interface to Nim users. For instance:

Anyway, I'm interested in your feedback on this PR. I'd like to use these functions along with the key exchange changes you already merged.

FedericoCeratto commented 4 years ago

Thanks!