FedericoCeratto / nim-libsodium

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

Support crypto_secretstream #25

Closed VP8M8 closed 2 years ago

VP8M8 commented 4 years ago

It would be really nice to have support for the cryptosecretstream*() functions. Being able to easily and securely support stream encryption would be very useful.

A wrapper decryption function like the example at the bottom of https://doc.libsodium.org/secret-key_cryptography/secretstream might be helpful to automatically detect encrypted stream errors.

FedericoCeratto commented 2 years ago

Added in 8f0c4555a42979e932984b256fcc8c3b3264de2f