getP256ShareSecret function

Future<Uint8List> getP256ShareSecret(
  1. Uint8List privateKey,
  2. Uint8List rawPublicKey
)

Implementation

Future<Uint8List> getP256ShareSecret(
  Uint8List privateKey,
  Uint8List rawPublicKey,
) async {
  final result = await AgentDartFFI.impl.p256GetSharedSecret(
    req: P256ShareSecretReq(
      seed: privateKey,
      publicKeyRawBytes: rawPublicKey,
    ),
  );
  return result;
}