View Source Equivalex (Equivalex v1.0.3)
polymorphic constant time comparisons
Compare arbitrary structures, using constant time comparisons where possible. This might allow for checking of multiple strings in a "secure" (constant time) way, without leaking timing information.
Summary
Functions
determine if two structures are the same
Functions
determine if two structures are the same
Comprisons are done bitwise on the destructured data.
The only short-circuits are for structures of differing sizes. Thus, information about whether a suspect string is of the correct length may be leaked.