On 02/02/2014 10:50 PM, Rouven Weßling wrote:
Hi internals,
as I've received no further feedback I've opened the voting on "Timing attack safe string comparison function":
-
https://wiki.php.net/rfc/timing_attack
Voting ends on 2014/02/09 11:00PM UTC
Best regards
Rouven
Morning Rouven,
I'd like to see more tests with this, I see you have the functionality covered, but not error conditions for arguments and no nulls ... it's pretty common for someone to pass a variable to a function expecting it to be a string but it is infact typeof null, so maybe include that in your tests just for completeness.
Other than that ... nice :)
Cheers
Joe