Skip to content

Instantly share code, notes, and snippets.

@stequald
stequald / brainwallet.py
Last active February 7, 2021 12:47
Bitcoin brain wallet in Python.
#!/usr/bin/env python
import hashlib, binascii
from hashlib import sha256
import ecdsa
DEBUG = True
DEBUG = False
"""
# secp256k1 T = (p, a, b, G, n, h)