ionux / phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions needed for EC keypair and ECDSA signature generation, validating signatures, validating curve points, creating SINs and much more.
https://github.com/ionux/phactor
MIT License
50 stars 18 forks source link

Generate Public Key from the Private Key #6

Open burstpay opened 6 years ago

burstpay commented 6 years ago

Hello

Can phactor be used in any way to generate the public key from the private key?

Good job with this project!

Thank you!

ionux commented 6 years ago

Hey @burstpay sorry for the delay responding to you. My wife and I recently had our first baby so things have been pretty busy at home! :)

I'll take another look but I believe the library is already doing what you ask.

yupnano commented 6 years ago

Hi @ionux , congratulations on this happy news!

And I have this same question: How to get pulickey from a given privatekey? Maybe the library couold already achieve this, however we can't find how to use it from the sample code in the readme. Could you please add some examples concerning this issue?

jackneil commented 6 years ago

Same question here! Thanks!

ionux commented 6 years ago

Hey guys, thanks for writing to me about this and reminding me I need to add this handy method. I was just looking through my code and saw there's already a method I had written in the past to obtain the private from the public key so it should be fairly trivial to do the same for the opposite. Give me a few days for this and I'll turn it around for you and publish a new release with this and the other changes since the last release.

Thanks again for reminding me!

mattvb91 commented 5 years ago

:+1: for this

@jackneil @yupnano @burstpay have you guys made any progress with this?

mattvb91 commented 5 years ago

Just checking in again

mattvb91 commented 4 years ago

@jackneil @yupnano @burstpay @ionux bumping again if anyone has made any progress?

meglio commented 1 year ago

Has this been abandoned?

ionux commented 1 year ago

Nope, not at all.On Mar 21, 2023, at 7:12 PM, Anton A. @.***> wrote: Has this been abandoned?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

mookey86 commented 1 year ago

src

meglio commented 1 year ago

@mookey86 what do you mean?