poanetwork / threshold_crypto

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

Add an API that allows specifying the RNG to be used for encryption. #41

Closed mbr closed 6 years ago

mbr commented 6 years ago

This is a small API extension that should be fully backwards compatible, but allows libraries to supply their own random number generator when calling encrypt.

This will soon be a required feature for hbbft, for this reason I would like to see this single change cherry picked for a 0.1.1 release.