brichard19 / BitCrack

A tool for cracking Bitcoin private keys
MIT License
727 stars 484 forks source link

Support for P2SH and Bech32 address formats #37

Open kaskooskuro opened 6 years ago

kaskooskuro commented 6 years ago

Hi,

It would be great if you could add support for P2SH and Bech32 addresses:

./bin/BitCrack -c -u -b 32 -t 256 -p 16 **37MjbLkd2APTbuBjsGf2MCrk4Hn9LJSFSw**
[2018-09-18.08:42:56] [Info] Compression: both
[2018-09-18.08:42:56] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000000000001
[2018-09-18.08:42:57] [Info] Error: Invalid address '37MjbLkd2APTbuBjsGf2MCrk4Hn9LJSFSw' Exiting.
./bin/BitCrack -c -u -b 32 -t 256 -p 16 **bc1qgtwvwgmd04ltyhxaee4xgzwplhtywe2vqmtcpv**
[2018-09-18.08:42:30] [Info] Compression: both
[2018-09-18.08:42:30] [Info] Starting at: 0000000000000000000000000000000000000000000000000000000000000001
[2018-09-18.08:42:31] [Info] Error: Invalid address 'bc1qgtwvwgmd04ltyhxaee4xgzwplhtywe2vqmtcpv' Exiting.

Thanks!

avrum commented 3 years ago

+1