I've a dumb question (and probably has been already asked):
People always compare between BCrypt and PBKDF2 and say that BCrypt is better because it is for example slower to use GPU, but they ignore the Rounds value
, espetially when i talk about Python, where BCrypt is not powerful, so my question is simple:
The tests used the excellent python library Passlib
is it worth to use BCrypt even with small round value? in Passlib, the default value is 12
, tested and gave me 0.40 seconds
, while PBKDF2 gave me with the default value which is 12000
rounds: 0.142 seconds
so for example, if i use BCrypt with only 5 rounds, i'll say: hey, my application is more secure -and faster- than using PBKDF2 with 12000 rounds! (it seems dumb i know, sorry).