Use constant time comparison to check keys to prevent the possibility of a timing attack to brute force a signature