<div dir="ltr"><div><div><div>Hi,<br><br></div>jlouis/enacl is definitely maintained. It is just that there is not much to do with the functionality in there because most of the base functionality is present and I'll just have to add a couple of functions as people request them.<br><br></div>The strength of enacl, at least compared to other solutions, is that it contains a QuickCheck model for testing it does the right thing. Due to work by Irina Guberman and Zane Beckwith (both working at Xaptum), this model can also be run with QuickCheck mini. This was used to verify that the code also worked on the MIPS architecture, and it can be used for other embedded device work.<br><br></div>Enacl uses dirty schedulers, but doesn't do so for very small quick calls under a threshold, where the move to/from the dirty scheduler is too expensive. There is a blog post on the subject [0] where the basic idea is this: Once the overhead of moving to a dirty scheduler is less than 5-10% of the runtime, we just move the work to the DS. By experimenting with dtrace, we can find that threshold point.<br><br>[0] <a href="https://medium.com/@jlouis666/erlang-dirty-scheduler-overhead-6e1219dcc7">https://medium.com/@jlouis666/erlang-dirty-scheduler-overhead-6e1219dcc7</a><br><br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 14, 2017 at 11:29 AM Krzysztof Jurewicz <<a href="mailto:krzysztof.jurewicz@gmail.com">krzysztof.jurewicz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Has anyone got any experience with what would be the most reasonably written and maintained Erlang libsodium library for cryptography?<br>
<br>
In Ercoin I’ve used <a href="https://github.com/potatosalad/erlang-libsodium.git" rel="noreferrer" target="_blank">https://github.com/potatosalad/erlang-libsodium.git</a>, perhaps because it seemed to be the simplest one to use and least problematic for this particular (non-complex) application. Generally it looks like <a href="https://github.com/jlouis/enacl.git" rel="noreferrer" target="_blank">https://github.com/jlouis/enacl.git</a> is the most maintained binding.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>