# I would like to ask if there are any differences between the latest version of the threshold scheme and the previous one

**URL:** <https://openfhe.discourse.group/t/i-would-like-to-ask-if-there-are-any-differences-between-the-latest-version-of-the-threshold-scheme-and-the-previous-one/728>\
**Category:** Library Questions\
**Created:** [August 1, 2023, 7:24am UTC](https://openfhe.discourse.group/t/i-would-like-to-ask-if-there-are-any-differences-between-the-latest-version-of-the-threshold-scheme-and-the-previous-one/728 "2023-08-01T07:24:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [August 1, 2023, 7:24am UTC](https://openfhe.discourse.group/t/i-would-like-to-ask-if-there-are-any-differences-between-the-latest-version-of-the-threshold-scheme-and-the-previous-one/728/1 "2023-08-01T07:24:07Z")

</div>

I would like to ask if there is any difference between the latest version of the threshold scheme and the previous one. What I know now is that the number of participants in the previous threshold version is fixed, while the latest version is not fixed. Can you explain where the latest version of threshold technology is different from before？

---

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [August 1, 2023, 7:40am UTC](https://openfhe.discourse.group/t/i-would-like-to-ask-if-there-are-any-differences-between-the-latest-version-of-the-threshold-scheme-and-the-previous-one/728/2 "2023-08-01T07:40:12Z")

</div>

Just to confirm, are you asking about the changes in Threshold FHE support from v1.0.4 to v1.1.0 in OpenFHE? In other words, are you asking about a new mode of threshold FHE with aborts?

---

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [August 1, 2023, 7:56am UTC](https://openfhe.discourse.group/t/i-would-like-to-ask-if-there-are-any-differences-between-the-latest-version-of-the-threshold-scheme-and-the-previous-one/728/3 "2023-08-01T07:56:33Z")

</div>

yes,I want to konw about the changes in Threshold FHE support from v1.0.4 to v1.1.0 in OpenFHE.

---

<div class="post-metadata">

**Author:** ![Sararv](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@Sararv](https://openfhe.discourse.group/u/Sararv)\
**Post date:** [August 2, 2023, 2:06am UTC](https://openfhe.discourse.group/t/i-would-like-to-ask-if-there-are-any-differences-between-the-latest-version-of-the-threshold-scheme-and-the-previous-one/728/4 "2023-08-02T02:06:28Z")

</div>

The Threshold FHE version in v1.1 allows parties (minority) to drop out before the distributed decryption. This is done by running an extra round after keygen where each party secret shares their secret (using shamir or additive sharing) to other parties. The parties can then use these secret shares to recover the decryption share of the dropped out parties during distributed decryption. This is implemented at the cryptocontext level and is available for all schemes - BGV/BFV/CKKS. A small 2-out-of-3 example to use the functions can be found in the unit test function ‘UnitTestMultipartyAborts’ in [src/pke/unittest/UnitTestMultiparty.cpp](https://github.com/openfheorg/openfhe-development/blob/dev/src/pke/unittest/UnitTestMultiparty.cpp). Linking a related question [here](https://openfhe.discourse.group/t/t-out-of-n-threshold-fhe-in-openfhe/605).
