@Test void succeedsWhenDifferentSeedsGiveDifferentPoints() { G2Point point1 = G2Point.random(1L); G2Point point2 = G2Point.random(2L); assertNotEquals(point1, point2); }
public static G2Point random(long seed) { return random(new Random(seed)); }
G2Point implements Group<G2Point> { public static G2Point random(long seed) { return random(new Random(seed)); } }
G2Point implements Group<G2Point> { public static G2Point random(long seed) { return random(new Random(seed)); } G2Point();  G2Point(ECP2 point); }
G2Point implements Group<G2Point> { public static G2Point random(long seed) { return random(new Random(seed)); } G2Point();  G2Point(ECP2 point); static G2Point random(long seed); static G2Point hashToG2(Bytes message); @Override G2Point add(G2Point other); @Override G2Point mul(Scalar scalar); ECP2 getPoint(); Bytes toBytes(); @VisibleForTesting Bytes toBytesCompressed(); static G2Point fromBytes(Bytes bytes); static G2Point fromBytesCompressed(Bytes bytes); static boolean isInGroup(ECP2 point); ECP2 ecp2Point(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); }
G2Point implements Group<G2Point> { public static G2Point random(long seed) { return random(new Random(seed)); } G2Point();  G2Point(ECP2 point); static G2Point random(long seed); static G2Point hashToG2(Bytes message); @Override G2Point add(G2Point other); @Override G2Point mul(Scalar scalar); ECP2 getPoint(); Bytes toBytes(); @VisibleForTesting Bytes toBytesCompressed(); static G2Point fromBytes(Bytes bytes); static G2Point fromBytesCompressed(Bytes bytes); static boolean isInGroup(ECP2 point); ECP2 ecp2Point(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }