Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plz Help. #26

Open
ejrhe opened this issue Feb 25, 2024 · 2 comments
Open

Plz Help. #26

ejrhe opened this issue Feb 25, 2024 · 2 comments

Comments

@ejrhe
Copy link

ejrhe commented Feb 25, 2024

Traceback (most recent call last): File "breakECDSA.py", line 11, in e = txnUtils.getSignableTxn(m) File "/data/data/com.termux/files/home/CryptoDeepTools/14FreyRuckAttack/txnUtils.py", line 53, in getSignableTxn inputAddr = base58.b58decode_check(keyUtils.pubKeyToAddr(pub)) File "/data/data/com.termux/files/home/CryptoDeepTools/14FreyRuckAttack/keyUtils.py", line 54, in pubKeyToAddr ripemd160 = hashlib.new('ripemd160') File "/data/data/com.termux/files/usr/lib/python2.7/hashlib.py", line 116, in __py_new return __get_builtin_constructor(name)(string) File "/data/data/com.termux/files/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type ripemd160

This error occurs when i am tying to run python2 breakECDSA.py <BTC_RawTx_Hex>

How to fix it?

@demining
Copy link
Owner

@ejrhe #19 (comment)

@ejrhe
Copy link
Author

ejrhe commented Feb 26, 2024

Sir can you plz provide me hashlib.py (that old version which is support on python2) so i can replace the existing on from /usr/lib/python2.7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants