taurushq-io / multi-party-sig

Implementation of protocols for threshold signatures
Apache License 2.0
312 stars 120 forks source link

Make Paillier keys opaque (by having them generate proofs) #4

Closed cronokirby closed 3 years ago

cronokirby commented 3 years ago

Instead of exposing all the fields in Paillier keys, we can instead expose necessary methods to generate proofs.

Advantages:

You could also expose accessors to the fields, but this has the same API complexity.