G1Projective.fromBytes constructor

G1Projective.fromBytes(
  1. List<int> bytes
)

Creates a G1 point from bytes, validating that it is on-curve and in the correct subgroup.

Implementation

factory G1Projective.fromBytes(List<int> bytes) {
  return G1Projective.fromAffine(G1AffinePoint.fromBytes(bytes));
}