bool isPrivate(Uint8List x) { if (!isScalar(x)) return false; return _compare(x, zero32) > 0 && // > 0 _compare(x, ecGroupOrder as Uint8List) < 0; // < G }