Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/deps.ts>ed.CURVE

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
variable ed.CURVE
import { ed } from "https://deno.land/x/earthstar@v10.0.0-beta.5/deps.ts";
const { CURVE } = ed;

ed25519 is Twisted Edwards curve with equation of

−x² + y² = 1 − (121665/121666) * x² * y²

type

{ a: bigint; d: bigint; P; l; n; h: bigint; Gx: bigint; Gy: bigint; }