equals method
Checks if this private key is equal to another
Implementation
@override
Future<bool> equals(p2pkeys.PrivateKey other) async {
if (other is! EcdsaPrivateKey) return false;
// Compare public keys
final publicKeyEquals = await _publicKey.equals(other.publicKey);
if (!publicKeyEquals) return false;
// Compare private values
return _key.d == other._key.d;
}