How to create a signature using secp256k1 in Dart the same as in JavaScript code
I am trying to create a signature in Dart using secp256k1. But I am generating different signature as compared to javascript. JavaScript Method as follows: import * as secp from "@noble/secp256k1"; const signature = await secp.sign(msgHash, hashingPrivateKey, { der: false,…