Skip to main content
Module

x/ed25519/index.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.ts";

Constructors

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

Properties

readonly
x
readonly
y

Methods

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

Static Properties

readonly
BASE: Point
readonly
ZERO: Point

Static Methods

fromAffine(p: AffinePoint)
fromHex(hex: Hex, strict?)