I wanted to achieve the following mechanism to encrypt a document
- each person in a group of N (user a, b, c...)has her own key;
- user a and user b somehow decided to encrypt document M, and they can read M in plaintext, and anyone other than a and b can't read the document M
- user a, user b and user c somehow decided to encrypt document N, and they all can read N in plaintext, but anyone other than a, b, c can't read the document N
Is it possible? If so, how to achieve such functionality? (I feel PGP can't solve this problem)
I feel the above problem is same as WhatsApp group chat problem, isn't it? https://security.stackexchange.com/questions/119633/how-does-whatsapps-new-group-chat-protocol-work-and-what-security-properties-do
– chen Sep 27 '18 at 05:16