{"repo":"barnew-st/ecdsa-private-key-recovery","free":true,"listed":false,"github":"https://github.com/barnew-st/ecdsa-private-key-recovery","clone":"git clone https://github.com/barnew-st/ecdsa-private-key-recovery.git","description":"A cryptographic research tool for analyzing signature vulnerabilities","language":"Python","stars":21,"topics":["bitcoin","blockchain","ecsda","private-key","recovery","recovery-crypto"],"license":"GPL-2.0","category":"blockchain-web3","readme_excerpt":"ecdsa-key-recovery Perform ECDSA and DSA Nonce Reuse private key recovery attacks A cryptographic research tool for analyzing signature vulnerabilities Let's recover the private-key for two signatures sharing the same nonce k . Note how choosing the same nonce k results in both signatures having an identical signature value r . To find good candidates for an ECDSA nonce reuse check for signatures sharing the same r , pubkey on curve for different messages (or hashes). E.g. blockchain projects based off bitcoind are usually good sources of ECDSA signature material. sampleA ( r , sA, hashA , pubkey, curve) sampleB ( r , sB, hashB , pubkey, curve) setup Python 2.x: Python 3.x: Recovering Private Keys from the Bitcoin Blockchain tools/README.md BTC Address Base58 Privkey r ------------- ------------- ------------- 1A8TY7dxURcsRtPBs7fP6bDVzAgpgP4962 5JsYaHVGCUzuXaQ5VkaA21VFPJFuArRWfSB77sqzWkWuTMMjXsT 113563387324078878147267949860139475116142082788494055785668341901521289846519 1A8TY7dxURcsRtPBs7fP6bDVzAgpgP4962 5JsYaHVGCUzuXaQ5VkaA21VFPJFuArRWfSB77sqzWkWuTMMjXsT 18380471981355278106073484610981598768079378179376623360720556873242139981984 1C8x2hqqgE2b3TZPQcFgas73xYWNh6TK9W 5JKkG6KXLCCPXN9m29ype6My7eR4AnCLaHKYrLvn6d3nd8BLjjw 19682383735358733565748628081379024202682929012377912380310432818686294127462 1A8TY7dxURcsRtPBs7fP6bDVzAgpgP4962 5JsYaHVGCUzuXaQ5VkaA21VFPJFuArRWfSB77sqzWkWuTMMjXsT 6828441658514710620715231245132541628903431519484374098968817647395811175535 Example create rec","default_branch":null,"files":null,"tree":[],"storefront":"/r/barnew-st","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/barnew-st/ecdsa-private-key-recovery/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}