paixaop/node-sodium

Possibility of async methods?

gswalden opened this issue · 2 comments

Has there been any investigation into whether we could implement asynchronous methods in this library, similar to bcrypt? I'm hesitant to run this as a password hashing library on a production server, knowing it will block the event loop for 100-300ms every time a user attempts to login.

This would be great but the lib is somewhat big and right now I have no time to do a full rewrite to support async methods. If you want to start down that path it would be awesome.

Got it!