method

fixed_length_secure_compare

fixed_length_secure_compare(a, b)
private

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.