slight changes to the text.

This commit is contained in:
Vitor Pamplona 2024-03-28 18:36:10 -04:00
parent a34788e567
commit 3581a43957

6
59.md
View File

@ -78,7 +78,7 @@ Relays MAY choose not to store Gift-wrapped events due to them not being publicl
to attach a certain amount of proof-of-work to the wrapper event per [NIP-13](13.md) in a bid to demonstrate that
the event is not spam or a denial-of-service attack.
# Most Private Protocol
# Privacy-first Protocol
In cases of elevated privacy needs, the 3 primitives can be used together, one after another. In this scheme, even if all of the decrypted payloads leak, the sender and receiver are not publicly connected in a verifiable event and none of the inner event's information can be publicly verified.
@ -107,7 +107,7 @@ In pseudo-code:
"tags": [],
"content": nip44Encrypt(rumor, pubkeyB, privkeyA),
"sig": "<signed by pubkey-A>"
}, pubkeyB, privkeyRandom)
}, pubkeyB, privkeyRandom),
"sig": "<random, one-time-use pubkey signature>"
}
```
@ -129,7 +129,7 @@ For instance, to send an event through a push notification stack without the sta
"created_at": randomTimeUpTo2DaysInThePast()
"kind": 1059,
"tags": [
["token", "<destination push notification token>"],
["token", "<destination's push notification token>"],
],
"content": nip44Encrypt(notificationEvent, pubkeyB, privkeyRandom)
"sig": "<random, one-time-use pubkey signature>"