This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import subprocess | |
import os | |
import time | |
''' | |
@author Ben Hodgson | |
Python script to generate addresses using the Bitcoin core test | |
client until the user inputted text is present within the address. | |
Example call in Windows PowerShell: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bsddb.db import * | |
import sys | |
import struct | |
# by Willem Hengeveld <itsme@xs4all.nl> | |
# usage: python dumpwallet path_to_your/wallet.dat | |
# note: you need to have the bsddb package installed | |
def getcompact(k, i): | |
b= ord(k[i]) ; i+=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function, division | |
""" | |
By Willem Hengeveld <itsme@xs4all.nl> | |
ecdsa implementation in python | |
demonstrating several 'unconventional' calculations, | |
like finding a public key from a signature, | |
and finding a private key from 2 signatures with identical 'r' | |
""" |