Bitcoin Forum
January 07, 2026, 10:00:26 PM *
News: Due to a wallet-migration bug, you should not upgrade Bitcoin Core. But if you already did, there's no need to downgrade.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compute Z with rs and the priv key  (Read 157 times)
jvaimamu (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 3


View Profile
June 13, 2025, 06:49:43 AM
 #1

is it possible to compute z with rs , priv key and the public key? 
stwenhao
Hero Member
*****
Offline Offline

Activity: 581
Merit: 1402


View Profile
June 13, 2025, 08:04:23 AM
 #2

Quote
is it possible to compute z with rs , priv key and the public key?
Yes.
Code:
s=(z+rd)/k
sk=z+rd
sk-rd=z
z=sk-rd
z*G=sR-rQ
If you know private key "d", and signature private key "k", then you can just compute "sk-rd", and it will give you z-value.

Also, if you instead know only public key "Q", and signature public key "R", then you can calculate "z*G" out of that. Then, you won't have access to raw z-value, but you will know, which public key you will reach, if you use z-value as your private key.

But I wonder, why you ask questions like that, instead of trying to understand the answer you already received: https://asktom.cf/index.php?topic=5432120.msg61511319#msg61511319

Another thing is if you keep asking for things, and then removing your own topics, then there will be no point in giving you further answers, if all of that effort will be removed, and not preserved for future users or search engines. More than that: you received merits for removed posts, which should probably be kept: but if your next question is also going to be removed, then why should your current posts be merited, if they won't be visible as such, and you will be left with a long history of merits, sent to deleted posts and topics.

Also note, that all things you wrote are archived, so there is no point in removing them: https://ninjastic.space/search?author=jvaimamu

Proof of Work puzzle in mainnet, testnet4 and signet.
jvaimamu (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 3


View Profile
June 13, 2025, 09:16:26 AM
 #3

Quote
is it possible to compute z with rs , priv key and the public key?
Yes.
Code:
s=(z+rd)/k
sk=z+rd
sk-rd=z
z=sk-rd
z*G=sR-rQ
If you know private key "d", and signature private key "k", then you can just compute "sk-rd", and it will give you z-value.


I don't know the k , I Know only rs , the private key (d) of the public key Q , R (rx , ry)
I want to compute the corresponding z of the rs
Is it possible ?
stwenhao
Hero Member
*****
Offline Offline

Activity: 581
Merit: 1402


View Profile
June 13, 2025, 03:08:10 PM
Merited by mcdouglasx (1)
 #4

Quote
Is it possible ?
Only knowing "z*G" is possible in that case, without knowing "z" alone.

But I wonder, why you ignored other things. Are you AI? You should understand previous post, if you are not, and it should be sufficient.

Proof of Work puzzle in mainnet, testnet4 and signet.
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!