[erlang-questions] bcrypt message queues

Sverker Eriksson sverker.eriksson@REDACTED
Tue May 31 10:56:05 CEST 2016


How heavy duty is this bcrypt?
Does it take milliseconds to hash one little password?

/Sverker


On 05/30/2016 04:38 PM, Richard Jonas wrote:
> Hey guys,
>
> we are implementing user registration and password checking functionality
> and using bcrypt for password hashing. During registration and also during
> login we need to compute the hashes of the passwords. The problem is that
> bcrypt is serializing requests even when I choose nif or port mechanism.
>
> https://github.com/chef/erlang-bcrypt
>
> With nif a message queue is instantly built when multiple users log in
> (compute hashes for match password). With a pool size+port implementation,
> the message queue building has just deferred a bit.
>
> Is there any alternative to creating bcrypt-like hashes? For me it seems
> that this library cannot be scaled well. Or have I missed something?
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160531/a3978b67/attachment.htm>


More information about the erlang-questions mailing list