static BigInt leBytesToBigInt(Uint8List bytes) { BigInt result = BigInt.zero; for (int i = bytes.length - 1; i >= 0; i--) { result = (result << 8) + BigInt.from(bytes[i]); } return result; }