Howard Chu @ Symas on Nostr: Idle curiosity: how would you design an encrypted messaging system for multiple ...
Idle curiosity: how would you design an encrypted messaging system for multiple parties?
I was thinking: encrypt a message body with a randomly generated key, sign with your own private key, then encrypt the random key with each recipients' public key and send that to each recipient. Each recipient gets their own unique payload.
just wondering out loud...
Published at
2026-10-25 15:19:25 UTCEvent JSON
{
"id": "78362a76777a64771102b9534e7bb7a5784b7db8dda82ae7b1810a629b8499e2",
"pubkey": "5aeb250b3075a12bd05e16c8a3c40da91a553fa92164a39915a3a0615fe51864",
"created_at": 1792941565,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/hyc/statuses/117502218415291582",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "Idle curiosity: how would you design an encrypted messaging system for multiple parties?\n\nI was thinking: encrypt a message body with a randomly generated key, sign with your own private key, then encrypt the random key with each recipients' public key and send that to each recipient. Each recipient gets their own unique payload.\n\njust wondering out loud...",
"sig": "53c6b5793fb97debbbbb11c3bfa60c3019f2d0ad7d3b0fd80d90293a1a7e45c02cbea1498255af93e16b9f9945e2334b89ccd2cfc45680b35218546c6c6e4925"
}