Skip to main content
Module

x/ed25519/index.d.ts>ExtendedPoint

Fastest 4KB JS implementation of ed25519 elliptic curve. Auditable, high-security, 0-dependency EDDSA signatures compliant with RFC8032 & ZIP215
Go to Latest
class ExtendedPoint
import { ExtendedPoint } from "https://deno.land/x/ed25519@2.0.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, strict?: boolean): Point