Use a constant time comparison.