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, _EC_GROUP_ORDER) < 0; // < G
}