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

x/nostr_deno_client/lib/message.ts>default

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

Static Methods

private
getNormalizedX(key: Uint8Array): Uint8Array
private
randomBytes(bytesLength?: number)
private
stringToBuffer(value: string): ArrayBuffer
decrypt(
privkey: string,
pubkey: string,
data: string,
): Promise<string>
encryptMessage(
to: string,
message: string,
_privateKey: string,
): Promise<string>