https://bugzilla.wikimedia.org/show_bug.cgi?id=28419

--- Comment #17 from Tyler Romeo <tylerro...@gmail.com> 2011-10-04 23:26:16 UTC 
---
Well, I made a draft implementation of pbkdf2 in PHP's hash module, and
compared them both on my Core 2 Duo server. I used the SHA-512 hash of "test1"
and the hash of "test2" as the password and salt respectively, and I used
100,000 iterations for PBKDF2 (recommended is 1000+). And on an average of 1000
iterations, the PHP code actually was 0.0419 seconds faster than the C code,
which was a 25% difference. Now I'm assuming this is just some trivial overhead
that caused the PHP code to be faster, but the point is that the C code doesn't
really have that much of an advantage. Most of the heavy work (the actual
hashing) is being done down in C anyway.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to