----- Original Message ----- From: Kai Wei To: [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 5:27 PM Subject: threshold decryption
Hi, I'm working on a project that requires threshold decryption. Here we use RSA to encrypt a secret. We want to split the RSA private key into n shares, with k shares required to recover the private key. When we need to recover the secret, we want to do so without first recovering the private key. That is, we want k share-holders to decrypt the secret independently using their own share of the private key, and then their results can be combined somehow to recover the secret (not the private key!). I'm aware that the algorithm to do this is well-known. I just want to know whether this is already implemented in Crypto++ (i.e., something that takes the results from the k share-holders and combines them to recover the secret, OR, sometihng that takes the encrypted secret and k shares of the private key, and recovers the secret). thanks. Hello Kai, Take a look at test.cpp, using the ss and sr switches. ss is secret share. Its code is located at line 614 (SecretShareFile(...)) of test.cpp. Jeff
