Skip to content

Commit

Permalink
NIP-07: remove "and iv" from NIP-44 comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgleason committed Feb 20, 2024
1 parent 71b0cbc commit 2390058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 07.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ 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(pubkey, plaintext): string // returns ciphertext and iv as specified in nip-44
async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext and iv as specified in nip-44
async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertext as specified in nip-44
async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44
```

### Implementation
Expand Down

0 comments on commit 2390058

Please sign in to comment.