random static method

ECPrivate random()

Implementation

static ECPrivate random() {
  final secret = generateRandom();
  return ECPrivate.fromBytes(secret);
}