diff --git a/101.md b/101.md index 94ccc91..3768cca 100644 --- a/101.md +++ b/101.md @@ -27,7 +27,16 @@ The protocol can be implemented following the steps below. Note that the content 1. User A (the initiator) generates an alias key pair derived from their own private key and User B's (the recipient) public key. -2. User A sends a 10100 kind event to User B, signed with their alias private key. The 'p' parameter is User B's real pubkey. The `encrypted_text` can be in json format: `{"p":"A's real pubkey", "content":"your content"}`. +2. User A sends a 10100 kind event to User B, signed with their alias private key. The 'p' parameter is User B's real pubkey. The `encrypted_text` can be in json format: + + +```json +{ + "p":"A's real pubkey", + "content":"your content", + "sig":"<64-bytes hex of the signature of the event id, signed by A's real private key>" +} +``` For example: