[erlang-questions] bcrypt message queues

dmkolesnikov <>
Mon May 30 16:56:39 CEST 2016


Hello,

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

https://github.com/fogfish/hash

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 <> 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
> 
> 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.html>


More information about the erlang-questions mailing list