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

KeyPair.fromPublic: returns a KeyPair? #305

Open
fauxbytes opened this issue Mar 21, 2023 · 0 comments
Open

KeyPair.fromPublic: returns a KeyPair? #305

fauxbytes opened this issue Mar 21, 2023 · 0 comments

Comments

@fauxbytes
Copy link

IIUC, above function is used to recover a full public key from its compressed variant.

It returns a KeyPair. I could not find any particular docs on this type, so assume it stands for a key "pair' - meaning a public key and a private key. But then, isn't fromPublic returning only the public part? In what sense then is it a key pair?

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

1 participant