Adiljutt156 (OP)
Sr. Member
  
Offline
Activity: 756
Merit: 481
Part of AOBT Gang - English Translator to Urdu
|
 |
October 25, 2025, 11:37:50 PM Last edit: November 03, 2025, 09:40:15 PM by Adiljutt156 |
|
fillippone :مصنف There are 2^256 private keys out there: how big is that number? :اصل موضوع
کل جب میں بٹ کوائن کے بارے میں گہرائی میں جا کر تحقیق رہا تھا، تو میری نظر بدنام زمانہ keys.lol ویب سائٹ پر پڑی۔ https://keys.lol(وارننگ: وقت ضائع کرنے والی چیز!) یہ بنیادی طور پر ایک ویب سائٹ ہے جو ہر صفحے پر بے ترتیب طور پر 128 پرائیویٹ کیز جنریٹ کرتی ہے، پھر متعلقہ ایڈریسز (کمپریسڈ اور انکمپریسڈ) کا بلاک چین پر بیلنس چیک کرتی ہے اور کسی بھی مثبت بیلنس یا سابقہ ٹرانزیکشنز کی رپورٹ دیتی ہے۔ !واہ اگر آپ کو ان کلائنٹ سائیڈ پر تیار کردہ صفحات میں مثبت بیلنس ملتا ہے تو آپ درحقیقت اُن پرائیویٹ کیز کے مالک ہوتے ہیں، لہٰذا آپ ایسے بیلنس کے جائز مالک ہیں اور آپ کو اسے اپنی والیٹ میں منتقل کرنے سے کوئی روک نہیں سکتا۔ میں نے اس ویب سائٹ پر چند گھنٹے گزارے اور ہزاروں پرائیویٹ کیز جنریٹ کیں، مگر ظاہر ہے کچھ بھی نہیں ملا، نہ ایک بھی استعمال شدہ ایڈریس، اور بیلنس والا تو بالکل نہیں ملا۔ پھر میں نے سوچا کہ میں عمل کو تھوڑا سا ترتیب دے سکتا ہوں، اور یہاں فورم کے چند ساتھی صارفین سے بات کرنے کے بعد، میں نے سوچا کہ ہم ایک اسکرپٹ بنا سکتے ہیں جو بے ترتیب پرائیویٹ کیز جنریٹ کرے، پھر ایسے ایڈریس کا بیلنس اپنے بٹ کوائن نوڈ سے پوچھے اور اگر کوئی بیلنس ملے تو اسے میری اپنی والیٹ میں منتقل کر دے۔ مقامی طور پر کام کرنے سے یہ عمل تھوڑا تیز ہو جائے گا، میں نے سوچا۔ شروع سے ہی مجھے معلوم تھا کہ کچھ ملنے کے امکانات نہایت کم ہیں، مگر میں کوشش کرنا چاہتا تھا کیونکہ بیلنس تلاش کر کے کچھ نہ ملنے سے مجھے یقین ہو جاتا کہ کوئی بھی میرے اپنے بٹ کوائن جو میں نے بڑے احتیاط سے اپنی کولڈ والیٹ میں رکھا ہوا ہے اسی طرح حاصل نہیں کر سکتا۔ جب میں @babo کے اپنی اسکرپٹ ظاہر کرنے کا انتظار کر رہا تھا، تو میں نے دل میں سوچا: “Fillippone زندگی کے کھیل میں صرف ایک مہرہ ہے”… آخر کسی نے پہلے اس کے بارے میں کیوں نہیں سوچا؟ واپس اُس پیچیدہ راستے میں داخل ہو کر، میں نے جلد ہی “لارج بٹ کوائن کولائیڈر” دریافت کر لیا۔ https://lbc.cryptoguru.org/aboutواہ، یہ تو ایک سنجیدہ پراجیکٹ ہے۔ بنیادی طور پر ہزاروں تقسیم شدہ سرور روزانہ بنیادوں پر 26 ٹریلین (!!!) پرائیویٹ کیز بناتے اور چیک کرتے ہیں۔ پہلے تین سالوں کے دوران، وہ 7 پرائیویٹ کیز تلاش کرنے میں کامیاب رہے۔ یہ بہت زیادہ ہے! میں نے سوچا تھا کہ امکانات کہیں کم ہوں گے، مگر ممکن ہے کہ کسی والیٹ میں کیز بنانے کے لیے ناقص رینڈم نمبر جنریٹر استعمال ہونے کی وجہ سے کوئی بگ ہو۔ (مزید تحقیق درکار ہے!) Let’s quickly review a few numbers: Number of private keys theoretically possible: 2^256 or roughly 10^77 Number of bitcoin addresses: 2^160 Number of private keys searched by Bitcoin collider: 2^160 Numbers of atoms in the universe: 10^78 to 10^82 Number of used Bitcoin addresses: 18,000,000 The number of private keys ACTUALLY possible, is a little bit smaller than 2^256, as specified hereLet’s work out a few examples. - Suppose we have a billion active addresses, each of them with a positive balance: we know this is roughly 10^3 bigger than the actual number.
Probably the number of atoms in the universe is 10^3 times bigger than the number of addresses, so it is fair to say that finding a private Key with a positive amount is roughly as likely as finding one of those atoms spread all over the whole visible universe. How big is a billions of atoms? According to this Quora answer, it’s smaller than an E.Coli bacteria. So guess taking this bacteria, shred at atomic level, distribute it in the universe and trying to find one of those an atoms. Pretty tough, isn’t it?
- Second example is from this article. Suppose we want to scan all private keys in search of a positive balance and suppose that each inhabitant of the earth has a scanning speed one billion times higher than twice the current computing power of the Bitcoin network, thus:
* 10 billion people; * multiplied by one billion; * multiplied by twice the computing power of Bitcoin, about 100 thousand terahash per second; we obtain: 1,000,000,000,000*1,000,000,000*100,000*100,0000,000,000 = 10^10*10^9*10^5*10^12 = 10^36 For simplicity, we rounded down ‘115,792,089,237,316,195,423,570,985,008,687,907,852,837,564,279,074,904,382,605,163,141,518,161,494,336’ to 10^77, and we obtained that, if we checked every single private key, in search of a positive balance, it would take 10^77/10^36 = 10^41 seconds, how many years would it be? Since there are about 31557600 seconds in a year, it corresponds to about 10^41/31557600 = 31^33 years, which is more or less 10^23 times the estimated age of the universe (currently estimated at 13.82 billion years), in short 100,000,000,000,000,000,000,000, i.e. about 100 billion billion times the age of the universe.
- This video on how much secure is the SHA 256 algorithm.
https://youtu.be/S9JGmA5_unY
- All previous example didn’t account for the energy involved in such calculations. Of course all those very powerful machines would need to be powered by some kind of energy. How much energy would be necessary? Well, a lot, according to this infographic:

Link to Reddit
Other examples about how much it would take to randomly guess a private key: Further references: Other vey big numbers: Here are only a few examples, if you have additional resources or comment, don’t hesitate to post yours below and I will add to the list!
|