tel / saltine

Cryptography that's easy to digest (NaCl/libsodium bindings)
https://github.com/tel/saltine
MIT License
61 stars 29 forks source link

Sealed boxes #24

Closed linearray closed 7 years ago

linearray commented 8 years ago

Hi,

I was wondering if there was any work done on adding support for sealed boxes, essentially boxes with encryption but not authentication, which were added in libsodium 1.0.3

If not, I'm going to give it a shot. Just wanted to make sure it's not already lying around somewhere.

tel commented 8 years ago

That definitely doesn't exist! I'm not able to currently continue pushing saltine forward very much, so contributions like this are definitely welcome!

linearray commented 8 years ago

In the Box module, is there a reason why you're not using the _easy variants of the respective libsodium functions (takes care of padding for you without introducing overhead)?

If I add this functionality saltine will require libsodium 1.0.3 or greater. Is that acceptable?

tel commented 8 years ago

The primary reason for both of these is probably just that this is a multi year old not frequently used project. If you're an active user and interested in maintainership I'm happy to talk about it :)

linearray commented 7 years ago

Merged.