0

Is it possible to calculate the private key if you know the time (in the suitable format) when the key was generated on a single PC (Windows, Linux or others)?

P.S. Using it's custom libraries for this magic.

1

No, the time when the key was generated is entirely irrelevant. A private key is essentially a random number and with a robust source of randomness the time it takes to generate this random number is completely independent of the random number generated. For example, if we both run the same random number generator for exactly 5 minutes we should each generate completely different random numbers. With a flawed source of randomness we may both generate the same random number after exactly 5 minutes but this source of randomness should not be used for generating private keys.

3
  • Each wallet will generate randomness differently. The code for generating randomness in the Bitcoin Core wallet is here. If the wallet did a really bad job of generating randomness then there might be a concern. github.com/bitcoin/bitcoin/blob/master/src/random.cpp – Michael Folkson Jan 25 at 14:01
  • You sure about that? – Denis Leonov Jan 25 at 23:16
  • Sure about what specifically? That wallets will generate randomness differently? – Michael Folkson Jan 26 at 0:10
1

Private key is not related to time or operating system it is just created from random number which is called secret exponent there are lots of procedure to recover the private key but all are infeasible to recompute it so, everyone btc is safe :)

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.