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

Check retrieved public key size in XECKey.createPrivateKey() #5

Open
KostasTsiounis opened this issue Dec 8, 2023 · 0 comments
Open

Comments

@KostasTsiounis
Copy link
Member

In the XECKey class, when the createPrivateKey() method is called, after utilizing OCK to create a native key and return the pointer to it, the public key bytes are, also, retrieved from the used FastJNIBuffer.

However, the size is equal to the private key bytes and not the public. Is there a reason or something to be changed?

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