remove browserify-cipher, use crypto.subtle for nip04.

This commit is contained in:
fiatjaf
2022-12-21 16:04:00 -03:00
parent 0500415a4e
commit 41a1614d89
7 changed files with 58 additions and 35 deletions

2
utils.ts Normal file
View File

@@ -0,0 +1,2 @@
export const utf8Decoder = new TextDecoder('utf-8')
export const utf8Encoder = new TextEncoder()