I implemented it some time ago in python, the basic part it's not so
hard, you just need to implement the basic group rules (sum and
multiplication over elliptic curves) and you're done, i think you can
find all you need here
http://www.dkrypt.com/home/ecc but if you need
it, here should be encoded with UUE a good implementation
http://pastebin.com/HezmSR6L