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

x/earthstar/deps.ts>ed.RistrettoPoint#toRawBytes

Storage for private, distributed, offline-first applications.
Go to Latest
method ed.RistrettoPoint.prototype.toRawBytes
import { ed } from "https://deno.land/x/earthstar@v10.0.1/deps.ts";
const { RistrettoPoint } = ed;

Encodes ristretto point to Uint8Array. https://ristretto.group/formulas/encoding.html

Returns

Uint8Array