Added constant time comparison utility function, for signature verification