fentec-project / gofe

Functional encryption library in Go
Apache License 2.0
166 stars 51 forks source link

Precomputation of primes #28

Closed tilenmarc closed 4 years ago

tilenmarc commented 4 years ago

This PR introduces the following:

tilenmarc commented 4 years ago

I spit the test to random and precomputed primes. As you will see, there is a nice way to do so in Go. I added a bit more comments to the code.

miha-stopar commented 4 years ago

Nice one! I only have one additional minor comment - dDHTestParam looks somehow strange, perhaps it would be better having ddhTestParam?

tilenmarc commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Issues
======
+ Solved 34

See the complete overview on Codacy