Post
Topic
Board Bitcoin Discussion
Re: Generating the private and public keys 100% offline
by
B1-66ER
on 02/06/2024, 19:04:37 UTC
Your question essentially boils down to whether someone can find a RIPEMD-160 collision.  Your address is a hash of your public key.  An attacker doesn't need to discover your private key, which has a probability of approximately 1 in 2256.  They need to find a private key whose public key generates the same 160-bit RIPEMD hash as yours.  The odds of this happening are 1 in 2160.

This is still  astronomically large.  You can rest assured that your coins are safe. 

Indeed, those numbers are really big. From Bruce Schneier’s book “Applied Cryptography”, here are some analogies that illustrate just how big those numbers are.

Physical Analogue - Number
Odds of being killed by lightning (per day) - 1 in 9 billion (2^33)
Odds of winning the top prize in a U.S. state lottery - 1 in 4,000,000 (2^22)
Odds of winning the top prize in a U.S. state lottery and being killed by lightning in the same day 1 in 2^55
Odds of drowning (in the U.S. per year) 1 in 59,000 (2^16)
Odds of being killed in an automobile accident (in the U.S. in 1993) 1 in 6100 (2^13)
Odds of being killed in an automobile accident (in the U.S. per lifetime)   1 in 88 (2^7)
Time until the next ice age   14,000 (2^14) years
Time until the sun goes nova 109 (2^30) years
Age of the planet   109 (2^30) years
Age of the Universe   1010 (2^34) years
Number of atoms in the planet   1051 (2^170)
Number of atoms in the sun   1057(2^190)
Number of atoms in the galaxy   1067 (2^223)

 Shocked