Author

Topic: How about the random seed of the BTC private Key? (Read 1011 times)

hero member
Activity: 678
Merit: 500
http://bitcoin.stackexchange.com/a/21672/12034
Quote
...yes [the random seed is secure enough]. The default Bitcoin client uses OpenSSL's RAND_bytes, which...

puts num cryptographically strong pseudo-random bytes into buf. An error occurs if the PRNG has not been seeded with enough randomness to ensure an unpredictable byte sequence.

Whether you'd call this a pseudo-random algorithm might be a matter of semantics, and of course some programs might use insecure algorithms, but at least Bitcoin-QT uses something that provides the full amount of randomness needed for security.

Thank you ,TimS

I think I have got want I want.

sr. member
Activity: 250
Merit: 253
http://bitcoin.stackexchange.com/a/21672/12034
Quote
...yes [the random seed is secure enough]. The default Bitcoin client uses OpenSSL's RAND_bytes, which...

puts num cryptographically strong pseudo-random bytes into buf. An error occurs if the PRNG has not been seeded with enough randomness to ensure an unpredictable byte sequence.

Whether you'd call this a pseudo-random algorithm might be a matter of semantics, and of course some programs might use insecure algorithms, but at least Bitcoin-QT uses something that provides the full amount of randomness needed for security.
hero member
Activity: 686
Merit: 500
A pumpkin mines 27 hours a night
Yeah but you actually have to use a good (random) seed. If you use a RNG that works deterministically and provide it with some bad seed (e.g. crackable password), it will supply you with a weak private key in return!
Roll some dice or make sure your wallet or whatever relies on cryptographically safe RNGs!
legendary
Activity: 4424
Merit: 4794
i think he is asking what kind of entropy is used in bitcoin core's 'randomiser' to make a privkey.

everyone knows and talks about the 10 to the 160th power of the amount of addresses being secure against someone getting a specific privkey via the public.

but if lets say the entropy to make a privkey was only 6 digits long then all privkeys would belong between 0 and 1 million
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
How about asking precicly what you want to know (in the resp. language board if english is a problem) and give as much details as possible?
hero member
Activity: 678
Merit: 500
How about the random seed of the BTC private Key?

Thanks
Jump to: