diff options
Diffstat (limited to '59.md')
| -rw-r--r-- | 59.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -245,7 +245,7 @@ const rumor = createRumor( | |||
| 245 | const seal = createSeal(rumor, senderPrivateKey, recipientPublicKey) | 245 | const seal = createSeal(rumor, senderPrivateKey, recipientPublicKey) |
| 246 | const wrap = createWrap(seal, recipientPublicKey) | 246 | const wrap = createWrap(seal, recipientPublicKey) |
| 247 | 247 | ||
| 248 | // Recipient unwraps with his/her private key. | 248 | // Recipient unwraps with their private key. |
| 249 | 249 | ||
| 250 | const unwrappedSeal = nip44Decrypt(wrap, recipientPrivateKey) | 250 | const unwrappedSeal = nip44Decrypt(wrap, recipientPrivateKey) |
| 251 | const unsealedRumor = nip44Decrypt(unwrappedSeal, recipientPrivateKey) | 251 | const unsealedRumor = nip44Decrypt(unwrappedSeal, recipientPrivateKey) |