asScalarInt static method
Implementation
static BigInt asScalarInt(List<int> scalar) {
if (CryptoOps.scCheck(scalar) == 0) {
return BigintUtils.fromBytes(scalar, byteOrder: Endian.little);
}
throw const SquareRootError(
"The provided scalar exceeds the allowed range.");
}