05-30-2017, 05:31 PM
Looking at how BIP-38 is setup, it wouldnt be too hard to build a script to try and attack the wallet passphrase, and then verify the decrypted private key against the public key you have.
This page has a javascript package you can use to perform the basic encryption/decryption steps: https://github.com/bitcoinjs/bip38/blob/master/index.js
If you sliced out the relevant portions and built a loop with the public key check, you can easily attack your key, however it would likely be a little slow.
This page has a javascript package you can use to perform the basic encryption/decryption steps: https://github.com/bitcoinjs/bip38/blob/master/index.js
If you sliced out the relevant portions and built a loop with the public key check, you can easily attack your key, however it would likely be a little slow.