On Saturday 15 November 2008, David Møller Hansen wrote:
> The pairing is 'just' a bilinear mapping of two point in a curve group
> into a "third" group, type depending on what pairing.
>
> I'm wondering where pairings should go in Sage structure?
>
> - any comments on that?

WWMD (What Would Magma Do) ;-)

http://magma.maths.usyd.edu.au/magma/htmlhelp/text1285.htm

so how about:

sage: E = EllipticCurve(...)
sage: P = E.random_element()
sage: Q = E.random_element()
sage: _ = P.tate_pairing(Q,n) 

I don't work with these objects, so this might be the least desirable 
solution.

Cheers,
Martin


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to