1

I would like to use ECC to sign messages. I trying searching in google, but I was not able to find a commented code to understand how it works.

Do you know some documentation that explains not only the mathematical basis, but also how to implement it?

Ottavio Campana
  • 4,088
  • 5
  • 31
  • 58
  • 3
    If you want to actually use ECC, you really should use an existing implementation. Writing a high performance implementation and avoiding side channel attacks is pretty tricky. A straight forward implementation using `BigInteger` libraries is typically hundreds or thousands of times slower than an optimized implementation. Side channel attacks are pretty annoying as well, for example with older versions of OpenSSL they could be used to steal ECC private keys. – CodesInChaos Jan 31 '13 at 12:34

1 Answers1

4

See Johannes Bauer's ECC Tutorial, based on Python and Sage. A small Python ECC library was published by bellbind.

Martin v. Löwis
  • 124,830
  • 17
  • 198
  • 235