This program requires base58 (https://pypi.python.org/pypi/base58/0.2.1).
Simply run from command line:
python burnaddress.py 1BitcoinBurnAddressForYou
or
Import into a script:
| from os import urandom | |
| from binascii import b2a_hex | |
| from hashlib import sha1 | |
| def getTorPassHash(secret='password'): | |
| ''' | |
| https://gist.github.com/jamesacampbell/2f170fc17a328a638322078f42e04cbc | |
| ''' | |
| # static 'count' value later referenced as "c" | |
| indicator = chr(96) |
| function nvm | |
| bash -c 'source ~/.nvm/nvm.sh; nvm "$@"' nvm $argv | |
| set -l node_dir "$HOME/.nvm" | |
| switch (echo $argv[1]) | |
| case install | |
| case use | |
| set -l node_version (ls $node_dir | grep $argv[2]) | |
| set -l node_version (echo $node_version | cut -d " " -f1) |
This program requires base58 (https://pypi.python.org/pypi/base58/0.2.1).
Simply run from command line:
python burnaddress.py 1BitcoinBurnAddressForYou
or
Import into a script: