Score:0

Generating multiple keys to decrypt one encrypted file

us flag

I've come across this particular design where I have one file encrypted.

Then multiple people may want to access the file and I want to generate an individual key for each person, but each individual key should be able to totally decrypt the file.

Is there some encryption design that allow that?

Regards

fgrieu avatar
ng flag
Anything wrong with the basic: each person has a key $K_i$, the file is encrypted under a per-file random key $K$; then $K$ is encrypted with each of the individual $K_i$ yielding $K'_i$, and the $K'_i$ are included with the encrypted file as a header? If we make the $K_i$ assymetric keys pairs, this is what OpenPGP/GPG does.
Daniel S avatar
ru flag
[Broadcast encryption](https://en.wikipedia.org/wiki/Broadcast_encryption) is designed to help with this sort of scenario.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.