LFDT-Lockness / paillier-zk

Zero-knoledge proofs of some paillier cryptosystem properties for use in CGGMP21
Apache License 2.0
0 stars 1 forks source link

Review Пenc #2

Closed survived closed 1 year ago

survived commented 1 year ago

@d86leader I noticed that you implemented both interactive and non-interactive proofs, but expose only interface for non-interactive ones. It's fine for CGGMP purposes, but interactive proofs might be useful for other protocols we may implement in the future. Also I believe that providing interface for interactive proofs and building non-interactive proofs on top of that interface will keep code cleaner.

It can be accomplished by separating proofs into two modules (taking Пenc as an example):

maurges commented 1 year ago

expose only interface for non-interactive ones

That's just an oversight, the idea was to expose both interfaces. Looking at Пenc, I have just forgotten to make fn prove public >_>

I like your idea with interactive and non-interactive modules thought, let's do it this way

maurges commented 1 year ago

Closing to stop getting notifications from pushes to master