Bitcoin Forum
November 17, 2024, 06:30:08 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How bitcoin-qt generate address and how do I know they are really random?  (Read 1126 times)
no_alone (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
December 03, 2013, 09:57:45 PM
 #1

How bitcoin-qt generate address and how do I know they are really random?

Thanks.

Mine only when pc is IDLE totally indivisible...
http://forum.bitcoin.org/index.php?topic=9851.0
Mine on family computer without disturbing them

Donation : 1GjpJnLU8zdfEHW7FoCx2UUosJgc9prXN4
Gyrsur
Legendary
*
Offline Offline

Activity: 2856
Merit: 1520


Bitcoin Legal Tender Countries: 2 of 206


View Profile WWW
December 03, 2013, 10:08:01 PM
 #2

How bitcoin-qt generate address and how do I know they are really random?

Thanks.

it's Open Source. this means the source code is not a secret and you can assume it is reviewed serveral times from different parties.

https://github.com/bitcoin/bitcoin/blob/master/src/key.cpp

no_alone (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
December 03, 2013, 10:17:40 PM
 #3

any info about EC_KEY_regenerate_key(..) What is the seed that it gets? from where the random part. the pc is only pseudo random

Mine only when pc is IDLE totally indivisible...
http://forum.bitcoin.org/index.php?topic=9851.0
Mine on family computer without disturbing them

Donation : 1GjpJnLU8zdfEHW7FoCx2UUosJgc9prXN4
Gyrsur
Legendary
*
Offline Offline

Activity: 2856
Merit: 1520


Bitcoin Legal Tender Countries: 2 of 206


View Profile WWW
December 03, 2013, 10:21:27 PM
Last edit: December 04, 2013, 09:31:09 AM by Gyrsur
 #4

I guess the random part comes from the OpenSSL lib:

Code:
#include <openssl/rand.h>

no_alone (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
December 03, 2013, 10:25:16 PM
 #5

but computer can not generate reall random numbers.. Is there a way to create a bitcoin address that is connected to something I add .. like a string that I can add..?

Mine only when pc is IDLE totally indivisible...
http://forum.bitcoin.org/index.php?topic=9851.0
Mine on family computer without disturbing them

Donation : 1GjpJnLU8zdfEHW7FoCx2UUosJgc9prXN4
Gyrsur
Legendary
*
Offline Offline

Activity: 2856
Merit: 1520


Bitcoin Legal Tender Countries: 2 of 206


View Profile WWW
December 03, 2013, 10:27:54 PM
 #6

ask the core devs.

grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
December 03, 2013, 10:30:46 PM
 #7

but computer can not generate reall random numbers.. Is there a way to create a bitcoin address that is connected to something I add .. like a string that I can add..?

go to http://bitaddress.org/, use the "brainwallet" option.

inb4 inevitable "MY BRAIN WALLET WAS HACKED!"

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Abdussamad
Legendary
*
Offline Offline

Activity: 3696
Merit: 1580



View Profile
December 04, 2013, 06:20:56 AM
 #8

but computer can not generate reall random numbers.. Is there a way to create a bitcoin address that is connected to something I add .. like a string that I can add..?


Computers generate "better" random numbers than humans so leave it be.
no_alone (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
December 04, 2013, 07:38:28 AM
 #9

but computer can not generate reall random numbers.. Is there a way to create a bitcoin address that is connected to something I add .. like a string that I can add..?

go to http://bitaddress.org/, use the "brainwallet" option.

inb4 inevitable "MY BRAIN WALLET WAS HACKED!"


using a online website to create an address.. Really?

Mine only when pc is IDLE totally indivisible...
http://forum.bitcoin.org/index.php?topic=9851.0
Mine on family computer without disturbing them

Donation : 1GjpJnLU8zdfEHW7FoCx2UUosJgc9prXN4
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4284
Merit: 8808



View Profile WWW
December 04, 2013, 07:40:19 AM
Last edit: December 04, 2013, 04:05:35 PM by gmaxwell
 #10

go to http://bitaddress.org/, use the "brainwallet" option.
inb4 inevitable "MY BRAIN WALLET WAS HACKED!"
I realize you're joking there, as you've indicated with your small text. But a lot of users are really confused by this stuff and will actually do this, and over and over again they get robbed.

Desktop computers are actually quite good sources of randomness. They monitor the precise timing between keypresses, mouse movements, disk seeks, network packets, and other sources of enviromental nodes and then they combine this data into randomness pools which are stored by cryptographic hashes so that even if most of the data that goes in is unpredictable, so long as there is only a few hundred bits of actual randomness that makes it in all the output is at least computationally sound.

Bitcoin-qt retains its own randomness pool— really the openssl code— and augments it with further entropy from timing and, on windows, a screenshot at startup.
Martijnvdc
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
December 04, 2013, 03:24:51 PM
 #11

You can create key pairs manually by throwing dice, if you want...
no_alone (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
December 04, 2013, 05:55:22 PM
 #12

You can create key pairs manually by throwing dice, if you want...

How can I do it?

Mine only when pc is IDLE totally indivisible...
http://forum.bitcoin.org/index.php?topic=9851.0
Mine on family computer without disturbing them

Donation : 1GjpJnLU8zdfEHW7FoCx2UUosJgc9prXN4
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!