[erlang-questions] bcrypt message queues

Technion <>
Tue May 31 11:30:37 CEST 2016


Hi,


If it takes less than "milliseconds", it's broken.


Standard recommendations are 50ms.

________________________________
From:  <> on behalf of Sverker Eriksson <>
Sent: Tuesday, 31 May 2016 6:56:05 PM
To: Richard Jonas
Cc: 
Subject: Re: [erlang-questions] bcrypt message queues

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
<mailto:>
http://erlang.org/mailman/listinfo/erlang-questions


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


More information about the erlang-questions mailing list