Bitcoin Forum
November 19, 2024, 03:16:09 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ASAP how to get bulk r,s,z from bitcoin signatures ?  (Read 185 times)
COBRAS (OP)
Member
**
Offline Offline

Activity: 1020
Merit: 24


View Profile
October 29, 2021, 07:54:17 PM
Merited by fillippone (1)
 #1

I thant download all r,s,z from 1 bitcoin address, how do this ?

Any scrypt for this task ?


Regards.

[
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1708
Merit: 8354


Fiatheist


View Profile WWW
October 29, 2021, 08:02:47 PM
Merited by ABCbits (3), fillippone (3)
 #2

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
COBRAS (OP)
Member
**
Offline Offline

Activity: 1020
Merit: 24


View Profile
October 29, 2021, 08:24:12 PM
 #3

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 ?

[
a.a
Member
**
Offline Offline

Activity: 126
Merit: 36


View Profile
October 29, 2021, 08:32:48 PM
 #4

Download the Blockchain
pooya87
Legendary
*
Offline Offline

Activity: 3640
Merit: 11041


Crypto Swap Exchange


View Profile
October 30, 2021, 04:02:30 AM
Last edit: October 30, 2021, 04:16:16 AM by pooya87
Merited by fillippone (3), ABCbits (1)
 #5

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);
}

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
COBRAS (OP)
Member
**
Offline Offline

Activity: 1020
Merit: 24


View Profile
October 30, 2021, 04:06:01 AM
 #6

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 ...

[
pooya87
Legendary
*
Offline Offline

Activity: 3640
Merit: 11041


Crypto Swap Exchange


View Profile
October 30, 2021, 04:20:45 AM
 #7

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
COBRAS (OP)
Member
**
Offline Offline

Activity: 1020
Merit: 24


View Profile
October 30, 2021, 05:11:47 AM
 #8

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

[
superkatchu
Newbie
*
Offline Offline

Activity: 5
Merit: 2


View Profile
October 30, 2021, 10:47:21 AM
Last edit: October 30, 2021, 12:12:32 PM by superkatchu
Merited by ABCbits (2)
 #9

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!