signConst method
Implementation
List<int> signConst(
List<int> digest, {
bool hashMessage = true,
List<int>? extraEntropy,
}) {
final hash = hashMessage ? QuickCrypto.sha256Hash(digest) : digest;
return _ecdsaSigningKey
.signConst(digest: hash, extraEntropy: extraEntropy)
.$1
.toBytes(CryptoSignerConst.curveSecp256k1.baselen);
}