Closed JanisErdmanis closed 4 years ago
Hi there, for some reason github did not notify me of your issue.
what is the advantage of those prime number generation functions vs the provided random_prime?
why not use Julia's invmod instead of implementing this one in DSA?
Thanks. I did not know that invmod
stands for a modular inverse for Julia. It seems that there is no benefit to keeping using my implementation and I could make my code shorter :)
Also, I overlooked the random_prime
function at this library. It is what I need. So I close the issue because I have no code to upstream.
Hello!
The package seems to fit the goal for providing some frequently used routines from number theory to make our cryptographic algorithms. Currently, I have implemented the digital signature algorithm in Julia, which sits in CryptoSignatures.jl as well as cryptographic groups CryptoGroups.jl, and now I am working on Diffie-Hellman key exchange. During the development, I have wrapped two undocumented routines for random integer and random prime generation from Paillier.jl. Also, I have written some code for modular inverse, which seems could belong to this package.
Thus would you accept a pull request