getECShareSecret function
Implementation
Future<Uint8List> getECShareSecret(
Uint8List privateKey,
Uint8List rawPublicKey,
) async {
final result = await secp256K1GetSharedSecret(
req: Secp256k1ShareSecretReq(
seed: privateKey,
publicKeyRawBytes: rawPublicKey,
),
);
return result;
}