<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>If it takes less than "milliseconds", it's broken.</p>
<p><br>
</p>
<p>Standard recommendations are 50ms.<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> erlang-questions-bounces@erlang.org <erlang-questions-bounces@erlang.org> on behalf of Sverker Eriksson <sverker.eriksson@ericsson.com><br>
<b>Sent:</b> Tuesday, 31 May 2016 6:56:05 PM<br>
<b>To:</b> Richard Jonas<br>
<b>Cc:</b> erlang-questions@erlang.org<br>
<b>Subject:</b> Re: [erlang-questions] bcrypt message queues</font>
<div> </div>
</div>
<div>How heavy duty is this bcrypt?<br>
Does it take milliseconds to hash one little password?<br>
<br>
/Sverker<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/30/2016 04:38 PM, Richard Jonas wrote:<br>
</div>
<blockquote cite="mid:CAO-3YLDXTXxxb8GVhr0BR+TA3OL9wbs18S40i5deCmzhJa0Ecw@mail.gmail.com" type="cite">
<pre wrap="">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.

<a class="moz-txt-link-freetext" href="https://github.com/chef/erlang-bcrypt">https://github.com/chef/erlang-bcrypt</a>

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?

</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</div>
</body>
</html>