sharedSecretKey method
Calculates a shared SecretKey.
Implementation
@override
Future<SecretKey> sharedSecretKey({
required KeyPair keyPair,
required PublicKey remotePublicKey,
}) async {
final keyPairData = await keyPair.extract();
return sharedSecretSync(
keyPairData: keyPairData,
remotePublicKey: remotePublicKey,
);
}