Added a byte-level comparison for verifying the public key signature