in reply to Elliptic Curves in polynomial groups

Math::Pari is a fine module, but suffers, I think, from the fact that PARI can't currently be compiled as a dll on windows, at least last time i tried. I would be happy to be corrected here.

Using Math::Pari will also presume a little familiarity with GP and GP scripts, which may not be something you wish to learn. I found GP fun, a little like mathematica without the graphics, but learning it properly, for ecc, will take a little time.

The absence of the native ability of perl to deal with large integer arithmetic has given rise to some of the most ingenious perl/<large integer capable software> hybrids I've ever seen - witness adam back's diminutive munitions page, 5 lines over which i spent 2 days. you could use bc instead of pari - but the new perl will include large integers as a basic type.

or, perhaps quickest, you could perlify the code in michael rosing's 'implementing elliptic curve cryptography', written in c, and use bigint as the basis for your large integer arithmetic. while not the fastest in terms of runtime, at least you'd have the advantage that you could debug it all in one spot/ide(if you use activestate).

  • Comment on Re: Elliptic Curves in polynomial groups

Replies are listed 'Best First'.
Re: Re: Elliptic Curves in polynomial groups
by PodMaster (Abbot) on May 23, 2003 at 09:08 UTC
    Math::Pari is a fine module, but suffers, I think, from the fact that PARI can't currently be compiled as a dll on windows, at least last time i tried. I would be happy to be corrected here.
    update: In case simply quoting you was a bit misterious, i'll explicitly state it, it's no longer true it no longer matters, just look at my signature.


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: Re: Elliptic Curves in polynomial groups
by John M. Dlugosz (Monsignor) on May 23, 2003 at 15:53 UTC
    That's what I was thinking—use big ints in Perl (which will be native in Perl 6) and convert book code to Perl, cleaning up a little to take advantage of operators, etc.

    What is "bc"?

    What is "diminutive munitions page"?

    Thanks,
    —John