ElectronicMonkey on Nostr: Random idea, encrypted group chat: a user generate a AES key, use this key to encrypt ...
Random idea, encrypted group chat: a user generate a AES key, use this key to encrypt a message, and encrypt this key to the public keys of his friends(contact list) as envelops. Send all that to relay. Friend query from relay to get envelop, use private key to decrypt AES key to then decrypt the message.
Published at
2023-01-12 17:02:39Event JSON
{
"id": "eb218037247324d0d11c15b0ad900105061920f76dd6c31f87ad64a27d0bb8d3",
"pubkey": "45c41f21e1cf715fa6d9ca20b8e002a574db7bb49e96ee89834c66dac5446b7a",
"created_at": 1673542959,
"kind": 1,
"tags": [],
"content": "Random idea, encrypted group chat: a user generate a AES key, use this key to encrypt a message, and encrypt this key to the public keys of his friends(contact list) as envelops. Send all that to relay. Friend query from relay to get envelop, use private key to decrypt AES key to then decrypt the message.",
"sig": "ce16fb3f5385cd4ac91d8495c71ed9e325355b4d599cf7a7806fd1879079efe062986525ef7d88730be0ae3ac8bd17c53e9b4785e5905a3a50166500aa49f03b"
}