<p>The one of the best way (I do it by that way) to find reused <strong>R</strong> values is to parse the raw blockchain database with my <a href="https://github.com/ragestack/blockchain-parser" rel="nofollow noreferrer">blockchain parser</a> with extracting only <strong>Input script</strong> and <strong>TX hash</strong> values and then cut off from script strings all except <strong>R</strong> value. So you get all <strong>R</strong> values ever generated. Then you can check those data for reusing <strong>R</strong> and easily find those TX's full data using it's hash.</p>

<p>This is the universal automated method for making such research for blockchain. I think this way is not the way like <em>getreusedr > result.txt</em> but I think it also can help you very much.</p>

CC BY-SA 4.0
2020-04-30T09:06:15.727Z
2020-04-30T09:22:26.263Z
2020-04-30T09:22:26.263Z
Denis Leonov
<p>I use software from  <code>https://github.com/ca333/rng-scanner</code> , I try to find r that is reused. from the software I found results</p>

<pre><code>Bitcoin Address : 1GQdrgqAbkeEPUef1UpiTc4X1mUHMcyuGW
In Input NR : 141 ~ 220020a271a0897f1b7a7f0db9acb517ae2b6d53dda3833808d02c6a1cc21dc1a68680
Resued R-Value : a0897f1b7a7f0db9acb517ae2b6d53dda3833808d02c6a1cc21dc1a68680
</code></pre>

<p>How do I find the s and z of the reused r value?</p>

CC BY-SA 4.0
2020-03-29T08:46:57.967Z
Does this answer your question? [Recovering private key when someone uses the same k twice in ECDSA signatures](https://bitcoin.stackexchange.com/questions/35848/recovering-private-key-when-someone-uses-the-same-k-twice-in-ecdsa-signatures) or this: https://bitcoin.stackexchange.com/questions/73622/how-do-you-derive-the-private-key-from-two-signatures-that-share-the-same-k-valu
MCCCS
<transactions><blockchain><hash><signature><ecdsa>
How to find Reused R values
R ford
# How to find Reused R values

(Asked by: username_0 on 2020-03-29)

I use software from  https://github.com/ca333/rng-scanner , I try to find r that is reused. from the software I found results
Bitcoin Address : 1GQdrgqAbkeEPUef1UpiTc4X1mUHMcyuGW
In Input NR : 141 ~ 220020a271a0897f1b7a7f0db9acb517ae2b6d53dda3833808d02c6a1cc21dc1a68680
Resued R-Value : a0897f1b7a7f0db9acb517ae2b6d53dda3833808d02c6a1cc21dc1a68680

How do I find the s and z of the reused r value?

**Tags:** transactions, blockchain, hash, signature, ecdsa

> **Comments:**
> **username_1**: Does this answer your question? [Recovering private key when someone uses the same k twice in ECDSA signatures](https://bitcoin.stackexchange.com/questions/35848/recovering-private-key-when-someone-uses-the-same-k-twice-in-ecdsa-signatures) or this: https://bitcoin.stackexchange.com/questions/73622/how-do-you-derive-the-private-key-from-two-signatures-that-share-the-same-k-valu  

---

## 1 answers

### Answer by username_2 on 2020-04-30. Score: 1

The one of the best way (I do it by that way) to find reused **R** values is to parse the raw blockchain database with my [blockchain parser](https://github.com/ragestack/blockchain-parser) with extracting only **Input script** and **TX hash** values and then cut off from script strings all except **R** value. So you get all **R** values ever generated. Then you can check those data for reusing **R** and easily find those TX's full data using it's hash.

This is the universal automated method for making such research for blockchain. I think this way is not the way like *getreusedr > result.txt* but I think it also can help you very much.


---

