On Dec 17, 5:32 pm, Alasdair <amc...@gmail.com> wrote:
> What facilities are available to me here?  For example, the following:
>
> p=211
> F.<x>=GF(p)[]
> G.<a>=GF(p^17,name='a',modulus=x^17+2*x^2+1)
> g=G.multiplicative_generator()
> r=G.random_element()
> discrete_log(r,g)
>
> ties up my computer for several minutes while using all possible CPU,
> then finally Sage gives up the ghost and crashes.

The order of your field has a prime factor of
473657018821793557815477348357239, which has ~108 bits, so the best
algorithms I know would need to do a search of size about 2^54, which
is kind of big. Probably computationally infeasible on the hardware
you are using. But maybe there are better algorithms, and I don't know
exactly what algorithm Sage is using.

david

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to