computeSharedSecret method

  1. @override
Future<Map?> computeSharedSecret(
  1. String privateKey,
  2. String peerPublicKey
)
override

Implementation

@override
Future<Map<dynamic, dynamic>?> computeSharedSecret(
    String privateKey, String peerPublicKey) async {
  return _methodChannel
      .invokeMethod<Map<dynamic, dynamic>?>('computeSharedSecret', {
    'privateKey': privateKey,
    'peerPublicKey': peerPublicKey,
  });
}