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

x/nostr_deno_client/lib/message.ts>default.encryptMessage

Nostr protocol client library for deno runtime.
Latest
method default.encryptMessage
import { default } from "https://deno.land/x/nostr_deno_client@v0.2.7/lib/message.ts";

Parameters

to: string
message: string
_privateKey: string

Returns

Promise<string>