G1NativeProjective.fromBytes constructor

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

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

Implementation

factory G1NativeProjective.fromBytes(List<int> bytes) {
  return G1NativeProjective.fromAffine(G1NativeAffinePoint.fromBytes(bytes));
}