AW: bcrypt

Lukas Tribus luky-37 at hotmail.com
Fri Jun 23 21:37:27 UTC 2017


Hello!


> One of the bcrypt scheme main properties is that it allows to 
> control number of rounds, and thus control hashing speed.  With 
> low number of rounds it is reasonably fast.  For example, with 2^5 
> rounds (default used by htpasswd) it takes about 4 milliseconds 
> here on a test box:

Just trying to wrap my head around this: if we have 100 request per
second of this, we block the event loop for 400 milliseconds every
1000 milliseconds, is that a correct understanding?


Thanks,
Lukas


More information about the nginx mailing list