Skip to content

struct ECPoint

cangjie
public struct ECPoint

功能:表示椭圆曲线公钥点坐标。

成员概览

成员功能
init(Array<Byte>, Array<Byte>)创建椭圆曲线公钥点。

init(Array<Byte>, Array<Byte>)

cangjie
public ECPoint(public let x: Array<Byte>, public let y: Array<Byte>)

功能:创建椭圆曲线公钥点。

参数:

  • x: Array<Byte> - 公钥点的 x 坐标字节。
  • y: Array<Byte> - 公钥点的 y 坐标字节。