Hi,
I've been trying to implement this zero knowledge proof of membership technique. I was wondering if you had any advice on the following regarding design:
Where to put the code to create a random group generator (I had thought I could just write G::elem(Integer) where Integer is the group generator, but that doesn't seem to work--the compiler complains that there is no variant elem. Perhaps it is better to implement the random group generator function inside the group implementations?
Thanks. Apologies if not clear or if I just missed something painfully obvious.
Hi,
I've been trying to implement this zero knowledge proof of membership technique. I was wondering if you had any advice on the following regarding design:
Where to put the code to create a random group generator (I had thought I could just write
G::elem(Integer)whereIntegeris the group generator, but that doesn't seem to work--the compiler complains that there is no variantelem. Perhaps it is better to implement the random group generator function inside the group implementations?Thanks. Apologies if not clear or if I just missed something painfully obvious.