Implemented Secp256k CDSA in Java Language
(Edited)
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
12
0
0.000
0 comments