signHash static method

ECDSASignature signHash(
  1. BigInt messageHash,
  2. BigInt privateKey
)

Signs a message hash using ECDSA

messageHash - The hash of the message to sign privateKey - The private key to sign with Returns an ECDSASignature object

Implementation

static ECDSASignature signHash(BigInt messageHash, BigInt privateKey) {
  return _signHash(messageHash, privateKey);
}