Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ed25519/index.d.ts>ExtendedPoint

Fastest 4KB JS implementation of ed25519 signatures
Latest
class ExtendedPoint
import { ExtendedPoint } from "https://deno.land/x/ed25519@2.1.0/index.d.ts";

Constructors

new
ExtendedPoint(
ex: bigint,
ey: bigint,
ez: bigint,
et: bigint,
)

Properties

readonly
et: bigint
readonly
ex: bigint
readonly
ey: bigint
readonly
ez: bigint
readonly
x: bigint
readonly
y: bigint

Methods

add(other: Point): Point
clearCofactor(): Point
double(): Point
equals(other: Point): boolean
is0(): boolean
isSmallOrder(): boolean
isTorsionFree(): boolean
mul(n: bigint, safe?: boolean): Point
multiply(scalar: bigint): Point
negate(): Point
toAffine(): AffinePoint
toHex(): string
toRawBytes(): Bytes

Static Properties

readonly
BASE: Point
readonly
ZERO: Point

Static Methods

fromAffine(p: AffinePoint): Point
fromHex(hex: Hex, zip215?: boolean): Point