Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GT

Index

Constructors

constructor

Properties

Private g

Static Private ELEM_SIZE

ELEM_SIZE: number = 256 / 8

Static Private MARSHAL_SIZE

MARSHAL_SIZE: number = GT.ELEM_SIZE * 12

Methods

add

  • add(a: GT, b: GT): void

equals

  • equals(o: any): boolean
  • Parameters

    • o: any

    Returns boolean

    true when both are equal, false otherwise

isOne

  • isOne(): boolean

marshal

  • marshal(): Buffer

neg

  • neg(a: GT): void

scalarMul

  • scalarMul(a: GT, k: BN): void

toString

  • toString(): string

unmarshal

  • unmarshal(bytes: Buffer): void

Static one

  • one(): GT

Static pair

Generated using TypeDoc