export class NostrEncryption { static async encrypt(privkey: string, pubkey: string, content: string) { return await window.NostrTools.nip04.encrypt(privkey, pubkey, content) } static async decrypt(privkey: string, pubkey: string, content: string) { return await window.NostrTools.nip04.decrypt(privkey, pubkey, content) } }