[−][src]Module hbbft::threshold_decrypt
Collaborative Threshold Decryption
Each node inputs the same encrypted data, and after at least f + 1 correct validators have done so, each node outputs the decrypted data.
How it works
The algorithm uses a threshold encryption scheme: A message encrypted to the network's public key can be collaboratively decrypted by combining at least f + 1 decryption shares. Each validator holds a secret key share, and uses it to produce and multicast a decryption share once a ciphertext is provided. The algorithm outputs as soon as it receives a ciphertext and f + 1 threshold shares.
Structs
Message | A Threshold Decryption message. |
ThresholdDecrypt | A Threshold Decrypt algorithm instance. If every node inputs the same data, encrypted to the network's public key, every node will output the decrypted data. |
Enums
Error | A threshold decryption error. |
FaultKind | A threshold decryption message fault |
Type Definitions
FaultLog | The type of fault log whose entries are |
Result | A threshold decryption result. |
Step | A |