poanetwork / threshold_crypto

A pairing-based threshold cryptosystem for collaborative decryption and signatures used in HoneybadgerBFT implementation
Other
183 stars 70 forks source link

Add examples for common usecases #9

Open vkomenda opened 5 years ago

vkomenda commented 5 years ago

An example is given in #8 for cryptographic signature verification. Further examples that can be added for the API functions may include:

In addition, poanetwork/hbbft#183 (comment) provides a shared randomness usecase for an internal computation of threshold_crypto that only uses DecryptionShares and removes the xor_vec step that would require a Ciphertext. With a slight modification of the API, such an example can be provided as well.

DrPeterVanNostrand commented 5 years ago

I started working on some threshold signing and encryption examples on Friday, I can take this issue.