Tag Info

New answers tagged

1

No - using rand() for this purpose is not secure. The problem with rand() is that it only has a small amount of internal state, I think 32-bits. When you call it multiple times, you get more than 32-bits of data out of it, but there are only 2^32 possible states. So if you use 2048-bits to generate a key, there's only 2^32 different keys that the setup ...


3

Using the mouse is a good choice to generate entropy, but there are better methods for generating good random numbers. For generating a single bitcoin address for personal use, the random generator is likely good enough, but is much much much weaker than a properly random key. If this is for any kind of system that will be generating many addresses (and ...



Top 50 recent answers are included