Skip to content

@aldea/sdk / Exports / ed25519 / Point

Class: Point

ed25519.Point

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Point(ex, ey, ez, et): Point

Parameters

NameType
exbigint
eybigint
ezbigint
etbigint

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:21

Properties

et

Readonly et: bigint

Defined in

node_modules/@noble/ed25519/index.d.ts:20


ex

Readonly ex: bigint

Defined in

node_modules/@noble/ed25519/index.d.ts:17


ey

Readonly ey: bigint

Defined in

node_modules/@noble/ed25519/index.d.ts:18


ez

Readonly ez: bigint

Defined in

node_modules/@noble/ed25519/index.d.ts:19


BASE

Static Readonly BASE: Point

Defined in

node_modules/@noble/ed25519/index.d.ts:22


ZERO

Static Readonly ZERO: Point

Defined in

node_modules/@noble/ed25519/index.d.ts:23

Accessors

x

get x(): bigint

Returns

bigint

Defined in

node_modules/@noble/ed25519/index.d.ts:26


y

get y(): bigint

Returns

bigint

Defined in

node_modules/@noble/ed25519/index.d.ts:27

Methods

_scalarMult

_scalarMult(n): Point

Parameters

NameType
nbigint

Returns

Point

Defined in

packages/core/dist/support/ed25519.d.ts:30


add

add(other): Point

Parameters

NameType
otherPoint

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:32


clearCofactor

clearCofactor(): Point

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:35


double

double(): Point

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:31


equals

equals(other): boolean

Parameters

NameType
otherPoint

Returns

boolean

Defined in

node_modules/@noble/ed25519/index.d.ts:28


is0

is0(): boolean

Returns

boolean

Defined in

node_modules/@noble/ed25519/index.d.ts:29


isSmallOrder

isSmallOrder(): boolean

Returns

boolean

Defined in

node_modules/@noble/ed25519/index.d.ts:36


isTorsionFree

isTorsionFree(): boolean

Returns

boolean

Defined in

node_modules/@noble/ed25519/index.d.ts:37


mul

mul(n, safe?): Point

Parameters

NameType
nbigint
safe?boolean

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:33


multiply

multiply(scalar): Point

Parameters

NameType
scalarbigint

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:34


negate

negate(): Point

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:30


toAffine

toAffine(): AffinePoint

Returns

AffinePoint

Defined in

node_modules/@noble/ed25519/index.d.ts:38


toHex

toHex(): string

Returns

string

Defined in

node_modules/@noble/ed25519/index.d.ts:40


toRawBytes

toRawBytes(): Uint8Array

Returns

Uint8Array

Defined in

node_modules/@noble/ed25519/index.d.ts:39


fromAffine

fromAffine(p): Point

Parameters

NameType
pAffinePoint

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:24


fromHex

fromHex(hex, strict?): Point

Parameters

NameType
hexHex
strict?boolean

Returns

Point

Defined in

node_modules/@noble/ed25519/index.d.ts:25