Pages

Sunday, February 16, 2014

Create Bitcoin Secret Key From Passphrase - Base58 Encoded

$ 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! Read below


You must first enter the function b58enc, a base 58 encoder that is also on my list of commands - Search for base58 encoder to find it here.


Creates a valid Bitcoin base58 encoded secret key from a passphrase




commandlinefu.com


by David Winterbottom (codeinthehole.com)






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

No comments:

Post a Comment