Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "point"

Index

Functions

Const isEqual

Const isInfinite

Const pointAdd

Const pointDouble

Const pointMultiply

  • Multiply a point by a bigint or Buffer. If the value is 1, the same point will be returned. Otherwise, it returns a new point.

    Parameters

    • curve: Curve
    • point: Point
    • value: Buffer | bigint

    Returns Point

Const toBuffer

  • toBuffer(curve: Curve, point: Point, compact?: boolean): Buffer
  • Get a point as a SEC1 encoded Buffer.

    Parameters

    • curve: Curve
    • point: Point
    • Default value compact: boolean = false

    Returns Buffer

Generated using TypeDoc