Skip to content

Instantly share code, notes, and snippets.

View danvctr's full-sized avatar

Dan Victor danvctr

View GitHub Profile
@danvctr
danvctr / recover_blockchain.info_wallet.py
Last active August 29, 2015 13:56 — forked from fcicq/mywallet.py
A Python script for manually decrypting a Blockchain.info wallet.json file.
#!/usr/bin/env python
import base64, hashlib, hmac, json, sys, getpass
from Crypto.Cipher import AES
from Crypto.Hash import RIPEMD, SHA256
base58_chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
def prompt(p):
return getpass.getpass(p + ": ")