Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "curve"

Index

Interfaces

Functions

Functions

Const decodePoint

  • Decode a point from a SEC1 encoded Buffer. Throws if the format is unknown.

    Parameters

    • curve: Curve
    • bytes: Buffer

    Returns Point

Const getPoint

  • getPoint(x: Buffer | bigint, y: Buffer | bigint): Point
  • Get a point from an x and y coordinate.

    Parameters

    • x: Buffer | bigint
    • y: Buffer | bigint

    Returns Point

Const getPointFromX

  • getPointFromX(curve: Curve, xBuffer: Buffer | bigint, isOdd: boolean): Point
  • Get a point from an x coordinate.

    Parameters

    • curve: Curve
    • xBuffer: Buffer | bigint
    • isOdd: boolean

    Returns Point

Generated using TypeDoc