Expand description
Threshold decryption coordinator.
Coordinates ElGamal-style threshold decryption: collect decryption shares from T parties and combine them into the full plaintext.
Structs§
- Decryption
Session - A threshold decryption session.
- Decryption
Share - A decryption share from one party.
Enums§
- Decryption
Error - Errors during threshold decryption.
Functions§
- combine_
shares - Combine decryption shares using Lagrange interpolation. In a real implementation, this would use the group operation (e.g., EC point addition weighted by Lagrange coefficients). Here, we XOR-combine for the mock case.