Skip to content

Commit

Permalink
remove nip44 calls from nip07 temporarily.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Dec 20, 2023
1 parent 9be5126 commit ff533d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions 07.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Aside from these two basic above, the following functions can also be implemente
async window.nostr.getRelays(): { [url: string]: {read: boolean, write: boolean} } // returns a basic map of relay urls to relay policies
async window.nostr.nip04.encrypt(pubkey, plaintext): string // returns ciphertext and iv as specified in nip-04 (deprecated)
async window.nostr.nip04.decrypt(pubkey, ciphertext): string // takes ciphertext and iv as specified in nip-04 (deprecated)
async window.nostr.nip44.encrypt(sender_privkey, recipient_pubkey, plaintext, version): string // returns encrypted payload as specified in nip-44
async window.nostr.nip44.decrypt(recipient_privkey, sender_pubkey, payload): string // takes encrypted payload as specified in nip-44
```

### Implementation
Expand Down

0 comments on commit ff533d7

Please sign in to comment.