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

x/earthstar/deps.ts>ed.sign

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

Signs message with privateKey. RFC8032 5.1.6

Parameters

message: Hex
privateKey: Hex

Returns

Promise<Uint8Array>