Pages

Sunday, February 16, 2014

Create Bitcoin Secret Key From Passphrase

$ x=passphrase; b58enc $(printf "80"%s "$(printf %s "$x"|sha256sum|sed -e "s/ .*//" )";printf "\x80"%s "$(printf %s "$x"|openssl dgst -sha256 -binary)"|openssl dgst -sha256 -binary|sha256sum|cut -b 1-8)

Note: This command does not work out of the box - you must first enter the ASCII-hex to base58 encoder b58enc that is also on my list of commands - Search for base58 encoder.


Creates a Bitcoin base58 encoded secret key from a test passphrase




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1j0UBS9

No comments:

Post a Comment