Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ciphering method where N out of M keys are required for decryption

Which ciphering method allows to decrypt data with N out of M keys?

Example: There are 5 persons, each of them gets an individual key. They should be able to decrypt encrypted data, but at least 3 of them (any combination) should be required to decrypt it.

like image 876
hiddenbit Avatar asked Dec 09 '25 20:12

hiddenbit


1 Answers

The technical name for what you want is a threshold scheme. There are several different varieties; Google will point you to them. If you are interested, I have an implementation of Adi Shamir's threshold system at my blog.

like image 159
user448810 Avatar answered Dec 12 '25 13:12

user448810