[erlang-questions] bcrypt message queues

dmkolesnikov@REDACTED dmkolesnikov@REDACTED
Mon May 30 16:56:39 CEST 2016


I've played with pbkdf2 function for same purpose. It is based on hmac from crypto library. 


Someone, might disagree about pbkdf2 due to some of it's features but it works for me (tm) 

- Dmitry

Sent from my iPhone

> On 30 May 2016, at 17:38, Richard Jonas <richard.jonas@REDACTED> 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?
> -- 
> Richard Jonas
> Erlang Solutions Hungary Kft
> Address:
>   Riverpark Office K.32
>   Közraktár street 32. 3/1.
>   1093 Budapest
>   Hungary
> Phone/fax:
>   +36-1-7000-654
> _______________________________________________
> 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/20160530/3d964e54/attachment.htm>

More information about the erlang-questions mailing list