I've implemented and tested Secp256k CDSA in Java. But it seems very slow.
Implemented functions
I've implemented Secp256k CDSA with Secp256k1Point class. Parameter of Secp256k is below.
- p : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F
- a : 0
- b : 7
- Gx : 79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798
- Gy : 483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8
In this class, I've implemented add, multiply functions.
Problem of This Source Code
The problem is that this program is too slow. I felt wired and tried GNU MP library, then it is very fast.
Therefore, I'll make JNI functions for crypto calculation.
Github Status
Testing Crypto code is located below.
https://github.com/alinous-core/codablecash/tree/master/src/test/java/crypt/test
You got a 1.30% upvote from @buildawhale courtesy of @iizuka!
If you believe this post is spam or abuse, please report it to our Discord #abuse channel.
If you want to support our Curation Digest or our Spam & Abuse prevention efforts, please vote @themarkymark as witness.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit