[erlang-questions] [ANN] salt - Erlang bindings for NaCl

Benoit Chesneau bchesneau@REDACTED
Tue Nov 12 08:41:59 CET 2013


On Mon, Nov 11, 2013 at 5:06 PM, Jachym Holecek <freza@REDACTED>wrote:

> # Benoit Chesneau 2013-11-11:
> > Where you aware of https://github.com/tonyg/erlang-nacl ? How it differs
> > from it?
>
> I became aware of it very late in the process. It could have been a good
> start had I noticed it earlier.
>
> Salt is much more complete with regards to API coverage. Erlang-nacl only
> has 'box', 'secretbox', 'hash' and 'randombytes' -- missing 'sign', 'auth',
> 'onetimeauth', 'scalarmult', 'stream', 'verify' which are present in Salt,
> and 'shorthash', 'generichash' which are not (yet) supported therein.
>
> Salt is safer in that it correctly offloads all (potentially) blocking
> operations to a background thread. With erlang-nacl, scheduler thread
> could at least in principle end up being stuck in /dev/random read.
>
> Salt also has a hard (though indirect) limit on latency of non-blocking
> operations, something left for the user to worry about with erlang-nacl.
>
> Finally, salt has something that may pass as documentation and tests,
> though only on a good day. :-)
>
> BR,
>         -- Jachym
>

Thanks for the explanations. I will try! :)

- benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131112/567a9bd1/attachment.htm>


More information about the erlang-questions mailing list