how should I encrypt the NWC string that's saved in local storage for nostr:nprofile1qqsxjvepw89pg6y44hlxse3mez0rvh80t7uh54rcp2axl65t40aj6sgpzpmhxue69uhkummnw3ezumt0d5hszrnhwden5te0dehhxtnvdakz7qgawaehxw309ahx7um5wghxy6t5vdhkjmn9wgh8xmmrd9skctc9xsxm6? #asknostr #nostrdev
Discussion
Chacha20
You can use nostr's nip4 encryption scheme and encrypt it to the user's own pubkey
Then decrypt it like a nip4 dm
That's what I was going to attempt to do, but wasn't use what others were doing. Thanks.
Encrypt everything. 😉