also I don't think its appropriate for nip04 encryption scheme here..? isn't this only for when shared secret is needed?
Discussion
nip04.encrypt is the only encryption function provided by window.nostr. Afaik it's fine for encrypting to self.
also I don't think its appropriate for nip04 encryption scheme here..? isn't this only for when shared secret is needed?
nip04.encrypt is the only encryption function provided by window.nostr. Afaik it's fine for encrypting to self.