Bitcoin Forum

Bitcoin => Project Development => Topic started by: BitcoinTip on March 28, 2013, 01:48:45 AM



Title: New private key generation
Post by: BitcoinTip on March 28, 2013, 01:48:45 AM
I am interested on one aspect of the regular qt client: private key generation.

Where can I find the code responsible for this? I am assuming some form of random number generation is done here.

I intend to research into the function used and look for patterns.

Perhaps a more reliable means than pure brute force could be designed to harvest private keys.


Title: Re: New private key generation
Post by: fpgaminer on March 28, 2013, 10:56:48 PM
https://github.com/bitcoin/bitcoin/blob/master/src/key.cpp#L177 (https://github.com/bitcoin/bitcoin/blob/master/src/key.cpp#L177)

Quote
Perhaps a more reliable means than pure brute force could be designed to harvest private keys.
Contact the OpenSSL devs if you find anything: http://www.openssl.org/support/ (http://www.openssl.org/support/)
As well as the implementors of /dev/urandom