Re: What's the code for doing the reverse of this code over the altbn128 curve

Laël Cellier <[email protected]>
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <[email protected]>
Thank you, and this would work with any point having the correct order ? 
or would this work only with points having coordinate withing specific 
bounds ?





Dear Laël,

What you are looking for is ffinvmap:

? mapi = ffinvmap(map);
? twisti(pt) = [ffmap(mapi,pt[1]/w^2), ffmap(mapi,pt[2]/w^3)];
? pt3 = twisti(pt2);
? pt3 == pt
%15 = 1

Cheers,
Aurel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.