keychat on Nostr: The recipient can calculate the encryption key for kind13 using their own private key ...
The recipient can calculate the encryption key for kind13 using their own private key and the sender's public key.
They only need to disclose this encryption key, not their own private key, to prove that the message was written by the sender, right?
I'm not a cryptography expert, so I'm not 100% certain.
Published at
2024-07-25 17:53:01Event JSON
{
"id": "73c710c60630a2f4a4901cc08fbf261f0b997031d4840867b0d96f169a1800d1",
"pubkey": "bbf923aa9246065f88c40c7d9bf61cccc0ff3fcff065a8cb2ff4cfbb62088f1e",
"created_at": 1721929981,
"kind": 1,
"tags": [
[
"e",
"5dd49be932f9f1f37c49897a94c5d7451b86cb757d58a15f70e3a465d90ebe25",
"",
"root"
],
[
"e",
"78aaa8b5561e34c98b32e0b8f858195783bdb6c7ade2b314d0e07ebb1e2350fc",
"",
"reply"
],
[
"p",
"ca44013219b42914a54ad33b9219ecc3d1d02ab5c4677b798c1aa14067a203c9"
],
[
"p",
"04c915daefee38317fa734444acee390a8269fe5810b2241e5e6dd343dfbecc9"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"7adb520c3ac7cb6dc8253508df0ce1d975da49fefda9b5c956744a049d230ace"
]
],
"content": "The recipient can calculate the encryption key for kind13 using their own private key and the sender's public key. \n\nThey only need to disclose this encryption key, not their own private key, to prove that the message was written by the sender, right?\n\nI'm not a cryptography expert, so I'm not 100% certain.",
"sig": "2e1ec3defe5548679813bae9687273cb8239e3f719e9456374ccef57803a7bbde3d10fc1ac4a4701923bfbb2fd0e8768d65a71acca2ffca49c0744fb08b40354"
}