I'm not afraid of the dark.私は暗闇を怖がりません。
In the main video on cryptocurrencies,暗号通貨に関するメイン動画の中で、
I made two references to situations where, in order to break a given piece of security, you would have to guess a specific string of 256 bits.ある特定のセキュリティを破るために、256ビットの特定の文字列を推測しなければならない状況について、2回言及しました。
One of these was in the context of digital signatures, and the other in the context of a cryptographic hash function.そのうちの1つはデジタル署名の文脈で、もう1つは暗号学的ハッシュ関数の文脈でした。
For example, if you want to find a message whose SHA-256例えば、SHA-256の
hash is some specific string of 256 bits, you have no better method than to just guess and check random messages,ハッシュがある特定の256ビットの文字列になるようなメッセージを見つけたい場合、ランダムなメッセージをただ推測して確認する以外に良い方法はなく、
and this would require, on average, two to the 256 guesses.これには平均で2の256乗回の推測が必要になります。
Now this is a number so far removed from anything that we ever deal with that it can be hard to appreciate its size.これは私たちが扱うあらゆるものからかけ離れた数なので、その大きさを実感するのは難しいかもしれません。
But let's give it a try.でも、試してみましょう。
Two to the 256 is the same as two to the 32 multiplied by itself eight times.2の256乗は、2の32乗をそれ自体で8回掛けたものと同じです。
Now what's nice about that split is that two to the thirty-two is four billion, which is at least a number we can think about, right?この分割の良いところは、2の32乗が40億であり、少なくとも私たちが考えることのできる数だということですよね?
It's the kind of thing you might see in a headline.見出しで目にするような類のものです。
So all we need to do is appreciate what multiplying four billion times itself eight successive times really feels like.だから私たちがする必要があるのは、40億をそれ自体で8回連続して掛けることが本当にどんな感じかを理解することだけです。
As many of you know, the GPU on your computer can let you run a whole bunch of computations in parallel incredibly quickly.ご存知の方も多いように、コンピューターのGPUを使えば、膨大な数の計算を並列に信じられないほど高速に実行できます。
So if you were to specially program a GPU to run a cryptographic hash function over and over,だから、暗号学的ハッシュ関数を繰り返し実行するようにGPUを特別にプログラムしたとすると、
a really good one might be able to do a little less than a billion hashes per second.本当に優れたものなら1秒あたり10億回弱のハッシュができるかもしれません。
And let's say that you just take a bunch of those and cram your computer full of extra GPUs so that your computer can run four billion hashes per second.そして、それらをたくさん集めてコンピューターに余分なGPUをぎっしり詰め込み、コンピューターが1秒あたり40億回のハッシュを実行できるようにするとしましょう。
So the first four billion here is going to represent the number of hashes per second per computer.つまり、ここでの最初の40億は、コンピューター1台あたりの1秒あたりのハッシュ数を表すことになります。
Now picture four billion of these GPU-packed computers.さて、このようなGPU満載のコンピューターが40億台あるところを想像してください。
For comparison, even though Google does not at all make their number of servers public.比較のために言うと、Googleはサーバーの数をまったく公表していませんが、
Estimates have it somewhere in the single-digit millions.推定では一桁台の数百万台 somewhere にあるとされています。
In reality, most of those servers are going to be much less powerful than our imagined GPU-packed machine.実際には、それらのサーバーのほとんどは、私たちが想像したGPU満載のマシンよりもずっと性能が低いでしょう。
But let's say that Google replaced all of its millions of servers with a machine like this.しかし、Googleが数百万台ものサーバーをすべてこのようなマシンに置き換えたとしましょう。
Then four billion machines would mean about a thousand copies of this souped-up Google.そうすると、40億台のマシンとは、この強化版Googleが約1000個分ということになります。
Let's call that one kiloGoogle worth of computing power.それをキロGoogle分の計算能力と呼ぶことにしましょう。
There's about seven point three billion people on Earth.地球上には約73億人の人々がいます。
So next, imagine giving a little over half of every individual on Earth their own personal kiloGoogle.そこで次に、地球上のすべての人の半分強に、それぞれ自分専用のキロGoogleを与えると想像してみてください。
Now imagine four billion copies of this Earth.次に、この地球が40億個あると想像してみてください。
For comparison, the Milky Way has somewhere between one hundred and four hundred billion stars.比較のために言うと、天の川銀河には1000億から4000億個ほどの星があります。
We don't really know, but the estimates tend to be in that range.正確には分かりませんが、推定値はだいたいその範囲です。
So this would be akin to a full one percent of every star in the galaxy having a copy of Earth, where half the people on that Earth have their own personal kiloGoogle.つまりこれは、銀河系の全恒星の1%が地球のコピーを持ち、その地球上の人々の半分が自分専用のキロGoogleを持っているようなものです。
Next, try to imagine four billion copies of the Milky Way, and we're going to call this your gigagalactic次に、天の川銀河が40億個あると想像してみてください、これをあなたのギガ銀河級と呼びましょう
supercomputer running about two to the one hundred and sixty guesses every second.毎秒約2の160乗の推測を行うスーパーコンピューターです。
Now, four billion seconds—that's about one hundred and twenty-six point eight years.さて、40億秒というのは、約126.8年に相当します。
Four billion of those, well, that's five hundred and seven billion years, which is about thirty-seven times the age of the universe.その40億倍となると、5070億年、つまり宇宙の年齢の約37倍になります。
So even if you were to have your GPU-packed kilogoogle per person, multiplanetary gigagalacticつまり、一人ひとりにGPU満載のキロGoogleを持たせた、惑星間規模のギガ銀河級
computer guessing numbers for thirty-seven times the age of the universe, it would still only have a one in four billion chance of finding the correct guess.コンピューターで、宇宙の年齢の37倍もの間数字を推測し続けても、正解にたどり着く確率は40億分の1にすぎないのです。
By the way, the state of Bitcoin hashing these days is that all of the miners put together guess and check at a rate of about five billion billion hashes per second.ちなみに、現在のビットコインのハッシュの状況はというと、すべてのマイナーを合わせると、毎秒約50億×10億回ものハッシュを推測・検証しています。
That corresponds to one third of what I just described as a kilogoogle.これは、私が先ほどキロGoogleと呼んだものの3分の1に相当します。
This is not because there are actually billions of GPU packed machines out there, but because miners actually use something that's about a thousand times better than a GPU,これは実際にGPU満載のマシンが何十億台もあるからではなく、マイナーがGPUより約1000倍も優れたものを使っているからです、
application specific integrated circuits.特定用途向け集積回路です。
These are pieces of hardware specifically designed for Bitcoin mining, for running a bunch of SHA256 hashes and nothing else.これらはビットコインのマイニング専用、つまり大量のSHA256ハッシュを実行するためだけに設計されたハードウェアです。
Turns out there's a lot of efficiency gains to be had when you throw out the need for general computation and design your integrated circuits for one and only one task.汎用計算の必要性を捨てて、たった一つのタスク専用に集積回路を設計すると、効率が大幅に向上することが分かったのです。
Also, on the topic of large powers of two that I personally find it hard to get my mind around, this channel recently surpassed two to the 18th subscribers,また、私個人としてはなかなか実感が湧かないような大きな2の累乗の話題ですが、このチャンネルは最近チャンネル登録者数が2の18乗を超えました、
and to engage a little more with some sub portion of those two to the 18 people, I'm going to do a Q and A session.その2の18乗の人々のうちの一部と、もう少し交流を深めるために、Q and Aセッションを行うことにします。
I've left a link in the description to a Reddit thread where you can post questions and upvote the ones that you want to hear answers to,概要欄にRedditのスレッドへのリンクを貼っておいたので、そこで質問を投稿したり、答えてほしい質問に賛成票を入れたりしてください、
and probably in the next video or on Twitter or something like that, I'll announce the format in which I'd like to give answers.そしておそらく次の動画かTwitterか何かで、回答する形式についてお知らせします。
See you then.では、またお会いしましょう。