isPrivate method

bool isPrivate(
  1. Uint8List x
)

Implementation

bool isPrivate(Uint8List x) {
  if (!isScalar(x)) {
    return false;
  }

  return _compare(x, _zero32) > 0 && // > 0
      _compare(x, _ecGroupOrder) < 0; // < G
}