jb55 on Nostr: sure, a shared secret is created using their public key and your private key. The ...
sure, a shared secret is created using their public key and your private key. The other person does the same thing to get the same shared secret. This is used to encrypt the text and its sent over kind4 nostr notes. This means the metadata is public but the contents are not.
Published at
2023-02-01 14:53:15Event JSON
{
"id": "d22fd383a36b1086af666c5f63c17cf87e2c62c3cee0b75ae613d49411555cb3",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1675263195,
"kind": 1,
"tags": [
[
"e",
"cfd6b33b45fbead82eaa41fc8ec1caa899c86bbdaacca749b08e27061ac76bbf"
],
[
"p",
"4ba3ea109f483b67df81a9baefcf9aa9f23add17984d8399a1500eddfc25ff23"
]
],
"content": "sure, a shared secret is created using their public key and your private key. The other person does the same thing to get the same shared secret. This is used to encrypt the text and its sent over kind4 nostr notes. This means the metadata is public but the contents are not.",
"sig": "d2312c723244f9ee907e2bb0813cdd665393ae08e24caccd698ff95e05c7f68c18d4b3df19b45eca23193aa74ae0bc96c1fae9ce5df70bb4af5ae80cf3d32c0f"
}