Hi,
I am looking for C/C++ code for brain wallet function.
What it should do:
Take ASCII text and produce a private key (the 51 char one, starting with "5").
it is going to be a bit more difficult to get the ECDSA stuff working if you are not wanting to use *any* 3rd party libraries.
So the important question is:
Do you just want to generate a private key based on the user chosen text, or do you want the software to also output the bitcoin address?
Generating private key only won't be too bad, but you should really consider using OpenSSL if you want your brain wallet generator to compute the bitcoin address as well.