method

secure_compare

Importance_1
v6.0.0 - 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.