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.
; 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?
>&
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
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