generateSharedKey method
Implementation
@override
Future<String> generateSharedKey(
String selfPublicKey,
String peerPublicKey, {
String? overrideTopic,
}) async {
_checkInitialized();
String privKey = _getPrivateKey(selfPublicKey)!;
String symKey = await utils.deriveSymKey(privKey, peerPublicKey);
return await setSymKey(symKey, overrideTopic: overrideTopic);
}