Author

Topic: Script to create a BrainWallet (Read 2128 times)

legendary
Activity: 1099
Merit: 1000
November 18, 2012, 11:00:54 PM
#6
here you have python script to generate addresses :

https://github.com/weex/addrgen/blob/master/addrgen.py

legendary
Activity: 896
Merit: 1000
November 18, 2012, 10:54:01 PM
#5
Further info,

I am looking for something sort of like this;-

https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

But having a brainwallet phrase as the start point instead of a private ECDSA key.  Sorry if I am asking for something so basic, I just want to get my head around the brain wallet concept.

Thanks
legendary
Activity: 896
Merit: 1000
November 18, 2012, 10:45:13 PM
#4
Sorry, I will try to make myself more clear, I am not interested in something that can already do it I am interested in the steps that are done to accomplish it. 

It's more of an exercise for me to learn than anything else.  For example (using PHP);-


$phrase = "the cat sat on the mat";

$sha256 = hash(sha256, $phrase , false);

$ripemd160  = "00" . hash(ripemd160, $sha256, false);

etc...

I will download the source to your utility casascius and see what I can work out.
vip
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
November 18, 2012, 10:30:29 PM
#3
I wrote a utility for Windows (with source) that can do this: https://casascius.com/btcaddress.zip

Looks like brainwallet.org also has an implementation in javascript.
legendary
Activity: 1099
Merit: 1000
legendary
Activity: 896
Merit: 1000
November 18, 2012, 09:56:46 PM
#1
Hi All,

Does anyone have a script to create a brain wallet?  Preferably in php as that is what I mostly use (I am not a real programmer, I am more into the systems administration side).

Its not to actually use to generate brain wallets, it is more so I can just go through the process step by step and turn something like "The cat sat on the mat" onto a public and private key.

Thanks
Jump to: