also I don't think its appropriate for nip04 encryption scheme here..? isn't this only for when shared secret is needed?

Reply to this note

Please Login to reply.

Discussion

nip04.encrypt is the only encryption function provided by window.nostr. Afaik it's fine for encrypting to self.