[sage-support] Solve this Equation for H: 5260862 = M*H^y % 20876441; know variables y and M.
Solve this Equation for H: 5260862 = M*H^y % 20876441 Does anyone happen to know the steps to solve for h: Equation: 5260862 = M*Hy % 20876441 Where y = 17, and M = 20192834? My H value is wrong from my previous tries. I think my order of op. is wrong. Function for code would be helpful. Already familiar with mod_inverse -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/739b382e-f5e8-4c50-ac5d-ac5461d8627d%40googlegroups.com.
[sage-support] Re: Calculate the DLP of 9916780 = (5**y) mod 20876441?
>From running this script do you get the value y = 17? I used a wolfram calculator just to be sure. On Wednesday, May 13, 2020 at 6:00:37 AM UTC-4, GZ D wrote: > > You can use a function called *discrete_log, *and I have shown you a > script below. > > m=5 > c=9916780 > n=20876441 > m=Mod(m,n) > c=Mod(c,n) > print(discrete_log(c,m)) > > 在 2020年5月13日星期三 UTC+8下午12:11:57,Madison Adams写道: >> >> Hi, >> So my goal is to find the variable y of this equation. >> Does sage math provide a function for Discrete Logarithm Problems? >> >> The equation is this: 9916780 = (5**y) mod 20876441. >> I also would like to know if there is an efficient way to do this in >> Python 3. >> >> >> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/0f9499de-5cc7-40b9-9260-59d315502658%40googlegroups.com.
[sage-support] Calculate the DLP of 9916780 = (5**y) mod 20876441?
Hi, So my goal is to find the variable y of this equation. Does sage math provide a function for Discrete Logarithm Problems? The equation is this: 9916780 = (5**y) mod 20876441. I also would like to know if there is an efficient way to do this in Python 3. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/e711ec39-2fc7-49a7-9a05-541e5134f1dc%40googlegroups.com.
[sage-support] How to import sagemath into repl.it
Hi, So I'm having trouble using sage on repl.it. Anyone know the procedure to import the packages and such? I know my path has to be set to the sage_root but I'm not sure if I did it correctly (capture.png) Anyone have any suggestions on how to navigate it in repl.it? -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/63f0522b-1046-46f0-bfef-8f67c991dcfd%40googlegroups.com.