Checks if two public keys are equal
bool equals(PublicKey publicKey) { return bytesEqual(toRawBytes(), publicKey.toRawBytes()); }