Closed joshlk closed 7 years ago
The generator parameter refers to a generator of the group (Z/(p-1)Z)*.
You can compute a generator using something like WolframAlpha (using the PrimitiveRoot command). For instance, for p = 23, you can find a generator by computing PrimitiveRoot[22] = 13.
Please feel free to ping me if you have additional questions!
Hi David,
I've been reading through your paper Using Homomorphic Encryption for Large Scale Statistical Analysis and working through your code. When executing the executables such as
./tests/Test_Statistics_x
agenerator
parameter is required. I am currently unsure what this is? In the paper, you go into detail for optimal values for N, log(q), p1 and pn and Batch Size but you don't mention thegenerator
parameter so I think I'm missing something.Whenever I change the
generator
parameter I get this error:What is this alluding to? Any help would be much appreciated! By the way, thank you for contributing to the knowledge of humanity! Don't underestimate its importance.