-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hey, it's not really an issue but I have a question for you.
I'm using your library but I wanted to use my own random number generator to create the polynomials. I see that in "ntru/ntru/ntrucipher.py" you are using two times the function " random_poly" from mathutils. I am wondering why one time you're using it with
- "random_poly(self.N, int(math.sqrt(self.q)))"
and another time with - "f_poly = random_poly(self.N, self.N // 3, neg_ones_diff=-1)"
It doesn't look like your polynomials are that random, the only randomness here is how your shuffling coefficient in your array of coefficient. Am I true ? Thanks for your help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels