recoverSecp256k1PubKey function

Future<Uint8List> recoverSecp256k1PubKey(
  1. Uint8List preHashedMessage,
  2. Uint8List signature
)

Implementation

Future<Uint8List> recoverSecp256k1PubKey(
  Uint8List preHashedMessage,
  Uint8List signature,
) async {
  final result = await secp256K1Recover(
    req: Secp256k1RecoverReq(
      messagePreHashed: preHashedMessage,
      signatureBytes: signature,
    ),
  );
  return result;
}