Flowdock
method

secure_compare

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: SecurityUtils
secure_compare(a, b) private

Constant time string comparison, for variable length strings.

The values are first processed by SHA256, so that we don’t leak length info via timing attacks.

Show source
Register or log in to add new notes.