feat: Symmetric encryption. No decryption, no sharing of the secret, not tested.

This commit is contained in:
Hocuri
2025-07-07 16:31:49 +02:00
parent 1991e01641
commit ec2056f5e2
4 changed files with 94 additions and 9 deletions

View File

@@ -172,6 +172,11 @@ pub enum Param {
/// post something to the mailing list.
ListPost = b'p',
/// For Chats of type [`Chattype::OutBroadcast`] and [`Chattype::InBroadcast`]:
/// The symmetric key shared among all chat participants,
/// used to encrypt and decrypt messages.
SymmetricKey = b'z',
/// For Contacts: If this is the List-Post address of a mailing list, contains
/// the List-Id of the mailing list (which is also used as the group id of the chat).
ListId = b's',