Ask Your Question

Revision history [back]

Hi

This works for me in sage4.8

I put this in one cell and choose gp at the top of the worksheet:

\r /home/jan/Downloads/tate_via_nets.gp e = ellinit([0,0,0,4,0]*Mod(1,5)) P1= [2,4] P2=[1,0] tate_pairing_alg(e, P1, P2, 4)

The answer is

Mod(4, 5)