[sage-support] Solve this Equation for H: 5260862 = M*H^y % 20876441; know variables y and M.

2020-05-14 Thread Madison Adams
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.

[sage-support] Re: Calculate the DLP of 9916780 = (5**y) mod 20876441?

2020-05-13 Thread Madison Adams
; 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? >&

[sage-support] Calculate the DLP of 9916780 = (5**y) mod 20876441?

2020-05-12 Thread 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

[sage-support] How to import sagemath into repl.it

2020-05-07 Thread Madison Adams
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