speed up BCrypt
Created originally on Bitbucket by Anonymous
(Imported from Google Code)
alabdelouahab wrote:
hi, it seems that passlib uses external BCrypt is slower than the embeeded one used by cryptacular:
i got 0.40 for passlib Bcrypt, and 0.37 for cryptacular, the difference is not big, it's alway in order of 1/10 secondes.
i attached the working file.
NB: but in the other hand, pbkdf2 is faster! (0.14 VS 0.27, a double!)
and i used the same round values, is it because cryptacular uses a directly the C extension?