big ints & elliptic curves

Paul Rubin phr-n2002a at nightsong.com
Fri Apr 12 19:11:11 EDT 2002


"John" <none at none.com> writes:
> Is there any good library for multi-precision arithmetics in Python? Also
> looking for elliptic curve implementations.

Python already includes a long int type (implemented in C) whose performance
isn't so bad.  For more speed you can use gmpy.  

Using either the built-in arithmetic or gmpy to implement elliptic curve
arithmetic in GF(p) should give acceptable results.  For GF(2**N),

    http://sourceforge.net/projects/cryptkit/  

includes a Python port of Mike Rosing's package.



More information about the Python-list mailing list