UNPKG

nostr-tools

Version:
3 lines (2 loc) 206 B
export declare function encrypt(secretKey: string | Uint8Array, pubkey: string, text: string): string; export declare function decrypt(secretKey: string | Uint8Array, pubkey: string, data: string): string;