Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public Address rather than public key #111

Open
rage0920 opened this issue Jun 27, 2023 · 2 comments
Open

Public Address rather than public key #111

rage0920 opened this issue Jun 27, 2023 · 2 comments

Comments

@rage0920
Copy link

Is there a possibility, where in rather than the public key we input public address?

@OlivierGaland
Copy link

OlivierGaland commented Jun 27, 2023

Hello,

Public address is derived from public key using a double hash function (sha and ripemd). Thus it is impossible to find the public key given a public address (this would mean that we are able to revert a hash function -either sha and ripemd-).

As far I know the code of the package (I'm not a developper involved in it), the algorithm rely on manipulating points on the elliptic curve (that you call public key). It is not possible to do same opérations on a public address.

As the conversion public address -> public key is not possible, the kangaroo algorithm cannot get a public address as input.

If you want to dig more, you can have a look at this nice page that explain what is private and public key, private and public address and how they are dependant (focus on the reversibility or non-reversibility of each step)

https://royalforkblog.github.io/2014/08/11/graphical-address-generator/

@mirameshs
Copy link

read this book
https://www.oreilly.com/library/view/mastering-bitcoin/9781491902639/ch04.html

this book is one of the best I have read.
based on this book, it is not possible and there is no any public or famous vulnerability in sha , ripemd to reverse the process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants