Function decodeG1Point

  • Big endian format, 384 bits Throws an error if encoding is wrong or point doesn't lie on curve TODO: should also throw an error if point isn't in appropriate subgroup

    Parameters

    • bytes: number[]

    Returns Point2<bigint>