sour-is / bitcoin

BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add support for bip38 EC multiply and compression #1

Open y opened 9 years ago

y commented 9 years ago

You might be able to crib the EC multiply from this go implementation here: https://github.com/chigley/bip38/blob/master/decrypt.go

jonlundy commented 9 years ago

Do you mean compressing/decompressing public keys?

I implemented a point compression and decompression using mod square roots here: https://github.com/sour-is/koblitz/blob/master/kelliptic/kelliptic.go

It is ready to implement the type of bip38 that requires these methods, but not the actual use in the tool.

y commented 9 years ago

yes. compressing of the public keys.

But the more important needed feature is supporting the EC multiply bip38 keys. i have to deal with those more than the non-EC multiplied ones.