Author

Topic: ASAP how to get bulk r,s,z from bitcoin signatures ? (Read 166 times)

newbie
Activity: 5
Merit: 2
Oh man. Don't waste your time. There is a whole paper about trying to crack wallets by using the lattice attack. They tried most transactions already... . Try something new.
If you want to try anyways: best way is to modify bitcoin core  so it saves all transactions r,s,z to a file. I have those modifications but won't give them away for free.

Here is the paper (very nice read and Nadia Heninge is really impressive woman):
https://eprint.iacr.org/2019/023.pdf

Video to the paper:
https://www.youtube.com/watch?v=6ssTlSSIJQE

Edit: Sorry, I did not read your OP completely. For only one address just check on blockchain.com (or similar blockchain browser) and get the values. You can easily automate it with something like beautifulsoup for python...
I can create such script but again not for free Smiley.

Edit2: Ahh I forgot. Best method for particular address is to use electrum server api. It's very easy. I have the code.
member
Activity: 846
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
I need a pubkey additionaly and this will be only monkey tests if youse random generator and not a real data...
I forget the key, added to the pseudocode. And the result you get from this pseudocode IS real data! Just as real and random as data you would have gotten from blockchain but acquired a lot faster.

Check PM
legendary
Activity: 3444
Merit: 10558
I need a pubkey additionaly and this will be only monkey tests if youse random generator and not a real data...
I forget the key, added to the pseudocode. And the result you get from this pseudocode IS real data! Just as real and random as data you would have gotten from blockchain but acquired a lot faster.
member
Activity: 846
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
Go nutzz:
Code:
var rng = new Random();
while (true)
{
    byte[] zb = new byte[32];
    rng.NextBytes(zb);
    var (r, s) = Sign(zb);
    DoSomething(r, s, zb);
}

I need a pubkey additionaly and this will be only monkey tests if youse random generator and not a real data...

I think need use a DER decoder... no more idea now... I continue search ...
legendary
Activity: 3444
Merit: 10558
Go nutzz:
Code:
var rng = new Random();
while (true)
{
    byte[] zb = new byte[32];
    byte[] key = new byte[32];
    rng.NextBytes(zb);
    rng.NextBytes(key);
    var (r, s) = Sign(zb, key);
    DoSomething(r, s, zb, key);
}
a.a
member
Activity: 126
Merit: 36
Download the Blockchain
member
Activity: 846
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
These values aren't connected directly with an address. They construct the signature of a signed message. (Such as a signed transaction)

The signature is consisted of [r, s] and z is the hash of the message we want to sign. The s is created if you combine the message hash (z) and the private key (d). I doubt there's a script to get those if you just give the address, but there must be one if you enter the signature, the public key and the message.

Ok, how to get all r,s only ?
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
These values aren't connected directly with an address. They construct the signature of a signed message. (Such as a signed transaction)

The signature is consisted of [r, s] and z is the hash of the message we want to sign. The s is created if you combine the message hash (z) and the private key (d). I doubt there's a script to get those if you just give the address, but there must be one if you enter the signature, the public key and the message.
member
Activity: 846
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
I thant download all r,s,z from 1 bitcoin address, how do this ?

Any scrypt for this task ?


Regards.
Jump to: