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

Consider using secp256k1-jni from Bitcoin-s #970

Open
kushti opened this issue May 1, 2024 · 0 comments
Open

Consider using secp256k1-jni from Bitcoin-s #970

kushti opened this issue May 1, 2024 · 0 comments

Comments

@kushti
Copy link
Member

kushti commented May 1, 2024

Reportedly:

[Libsecp256k1](https://github.com/bitcoin-core/secp256k1) is used to preform cryptographic operations on the secp256k1 curve. This is the curve that bitcoin uses. There is a signficant speedup when using this library compared to java crypto libraries like bouncy castle.

(from https://bitcoin-s.org/docs/secp256k1/secp256k1 )

So it is worth to try to use secp256k1-jni and so use BouncyCastle as a failback option only (for platforms where a native lib wont load)

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

No branches or pull requests

1 participant