method

fixed_length_secure_compare

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: SecurityUtils
fixed_length_secure_compare(a, b) public

Constant time string comparison, for fixed length strings.

The values compared should be of fixed length, such as strings that have already been processed by HMAC. Raises in case of length mismatch.

Show source
Register or log in to add new notes.