Dmitrii Kurylev
Dmitrii Kurylev

Reputation: 437

encryption/decryption of multiple keys

whether there are adequate ways to make the encryption / decryption of files using several different keys? That is, it is possible to make a group of n keys so that any of the group key could encrypt file and also with any of the group key to decrypt the file? (Of course, provided that no other key, in addition to these n group keys to decrypt the file could not be?)

Upvotes: 0

Views: 1671

Answers (1)

Vivek Chavda
Vivek Chavda

Reputation: 473

There isn't a way to encrypt with only one key, and be able to decrypt with several other keys individually.

You could have a group key that is encrypted by several keys, so those keys can decrypt the group key as needed, and the group key can be used to encrypt/decrypt data that is shared between users with different keys.

You could do the same thing with the data itself, but this means all keys need to be available for encryption, which doesn't seem to meet your use case.

Upvotes: 2

Related Questions