Comments (3)
There is no way to conver a single value ( array of long long unsigned int x[4]
) to a point you need at least two values x and y and i don't see how to use it.
To be honest keyhunt doesn't relay on ComputePublicKey too much, it is only called a few times to conver the intermediate Base keys into publickeys, but 99.9999% part of the remaning process depends only of public key point addition and some other shortcuts.
from keyhunt.
To albertobsd.
You wrote: "There is no way to conver a single value ( array of long long unsigned int x[4] ) to a point you need at least two values x and y and i don't see how to use it."
Answer:
#define P256_LIMBS 4
typedef struct {
BN_ULONG X[P256_LIMBS];
BN_ULONG Y[P256_LIMBS];
BN_ULONG Z[P256_LIMBS];
} POINT256;
POINT256 point;
BN_ULONG seckey[P256_LIMBS];
BN_ULONG x[P256_LIMBS];
BN_ULONG y[P256_LIMBS];
secp256k1_scalar_mul_gen(&point, seckey);
secp256k1_point_get_affine(x, y, &point);
Next questions:
Is it possible to convert now x & y to your class "Point"?
and
Is it possible to convert x & y from your class "Int" to your class "Point"?
from keyhunt.
as you see the point need at least X and Y to work some other classes and algorithms use Z for some calculations that are optimized.
So if you only have X with the secp256k1_sqr_mont then I don't know how to use it and to be honest i don't have any motivation to include it.
Why? Because keyhunt doesn't relay much on the ComputePublicKey as I mention before. So even if you increment the speed of that function 10 times more the current speed, it will not change the overall speed of the program.
from keyhunt.
Related Issues (20)
- Hit puzzle 130 HOT 34
- Help please
- [Question] Is this how I use it to hunt from a public key? HOT 4
- Import sha/ripemd optimizations from cpuminer-opt
- creating bloom filters files without the required ram HOT 1
- Total 0 keys in seconds... keyhunt legacy HOT 1
- Stuck at making checksum HOT 1
- Error reading the file keyhunt_bsgs_4_4194304.blm HOT 1
- BSGS Random mode
- Add new feature
- Starting the program HOT 2
- The string is not Valid Base58 HOT 3
- When searching for vanity in a certain range, it looks elsewhere
- Rsz HOT 2
- Question about bloom files! HOT 2
- BSGS mode in random save progress HOT 1
- Not showing speed on Raspberry Pi Zero 2W HOT 3
- GRND_NONBLOCK is an undeclared identifier...? HOT 2
- Still getting N =0 and 0key per 1000 sec HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keyhunt.