![]() |
![]() |
#1 |
Jul 2013
1 Posts |
![]()
I am not sure where this message goes.
I am thinking of implementing a software for performing discrete logarithms over large prime fields, by some advanced algorithms like Index Calculus, Function Field Sieve. I would like to seek an advice if it will be useful to everyone, and if there is a need for such a software when compared to currently existing ones that can handle this problem over large prime field faster. I have used Discrete Logarithm software from http://www.alpertron.com.ar/DILOG.html, which performs Pohlig-Hellman algorithm capable of handling problem if the modulus is composite, composed of small prime factors, say < 1015, but is incapable of handling large prime modulus fields. Lakshmi |
![]() |
![]() |
![]() |
#2 |
Tribal Bullet
Oct 2004
67168 Posts |
![]()
There is very little available software that can solve this problem. The only public package I know about is GDLOG. Also, the CADO-NFS project is building a function-field sieve capability on top of their number field sieve code, and the developers are very responsive if you post to the cado-nfs-discuss mailing list.
People here actually are basically not interested at all in solving general discrete logarithm problems. That's actually a bit surprising given how much interest this forum has in integer factorization. |
![]() |
![]() |
![]() |
#3 |
Feb 2005
22·32·7 Posts |
![]()
See also http://www.cs.toronto.edu/~cvs/dlog/
|
![]() |
![]() |
![]() |
#4 | |
Nov 2003
164448 Posts |
![]() Quote:
factorization. There are applications for factoring. There are sets of numbers whose factorization is "interesting" and/or useful. What similar things are there for DL? There are ECDL challenge problems, but NFS is not applicable. |
|
![]() |
![]() |
![]() |
#5 | |
Nov 2003
22·5·373 Posts |
![]() Quote:
While Dl over finite fields is used for breaking DH, DSA, and El-Gamal, these crypto primitives are not used to nearly the same extent as RSA. |
|
![]() |
![]() |
![]() |
#6 |
Sep 2002
Database er0rr
70128 Posts |
![]() ![]() We are trying to solve k for Last fiddled with by paulunderwood on 2013-12-09 at 15:54 |
![]() |
![]() |
![]() |
#7 | |
Nov 2003
746010 Posts |
![]() Quote:
generator, then you ask about a fast method for a non-generator. Please clarify. If alpha is not a primitive root, then Beta might not be in its orbit. (i.e. no solution) Pohlig-Hellman should probably work, depending on the factorization of p-1. If not, then the choices are: an O(sqrt(p)) method such as Pollard Rho [or Pollard Kangaroo if you run in parallel], or Baby Step/Giant Step OR: While I have never used NFS on a field this small, it may not be too bad. Of course, implementing NFS yields a thundering amount of code. If anyone else has better suggestions I would love to hear about them. |
|
![]() |
![]() |
![]() |
#8 |
Sep 2002
Database er0rr
1110000010102 Posts |
![]()
We have the cases where
Thanks for you pointers, RDS. Will Pohlig-Hellman work for a non-generator Last fiddled with by paulunderwood on 2013-12-09 at 16:40 |
![]() |
![]() |
![]() |
#9 |
Feb 2005
22·32·7 Posts |
![]()
To eliminate obvious cases with no solutions, I suggest first to compute the multiplicative order
|
![]() |
![]() |
![]() |
#10 | |
Jun 2003
1,579 Posts |
![]() Quote:
Even for cases where there is a solution (beta is in alphas orbit) Pohlig-Hellman with Pollard rho will be faster (depending on p-1 factorization) than Pollard rho by itself. Baby step-Giant step is better than Pollard rho as it is definitive (gives you a yes or no answer) over a range of n but requires significantly more memory. Baby step-Giant step can also be combined with Pohlig-Hellman. |
|
![]() |
![]() |
![]() |
#11 | |
Sep 2002
Database er0rr
E0A16 Posts |
![]() Quote:
![]() Last fiddled with by paulunderwood on 2013-12-16 at 20:27 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with discrete logarithm | pinnn | Information & Answers | 32 | 2017-11-08 00:08 |
Can discrete logarithms / factoring be done in P (i.e., deterministic polynomial time)? | Raman | Factoring | 1 | 2016-05-23 13:44 |
Pollard Rho Discrete Log | rogue | Math | 6 | 2012-09-26 11:20 |
Discrete logarithm software | Unregistered | Information & Answers | 39 | 2012-04-27 20:08 |
On discrete logs | kpatsak | Math | 1 | 2008-02-19 04:44 |