Simon is right Note that you can see what method is used via
aliceSecret?? which says
"If the modulus is prime and b is a generator, this calls Pari's ``znlog``
function, which is rather fast. If not, it falls back on the generic
discrete log implementation in
:meth:`sage.groups.generic.discrete_log`."
so you should not expect this to be fast, and maybe not even possible,
for large m.
>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-support...@googlegroups.com.
> To post to this group, send email to
sage-s...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/sage-support.
> For more options, visit
https://groups.google.com/d/optout.