by danielvf · 10y ago · 0 comments
Since onion addresses are essentially random strings of a certain length, the only way to get a "vanity" onion address is to brute force it.
Check out mapgrep's comment on another thread below for a more in depth answer, too.
Edit: probably wrong, see below
But for the non-hash-aware among us, it would take on average 2,147,483,647 as long to brute force the last 8 with the same computing power and 4,294,967,295 as long to hash every combination of the last 8. This all assumes no vulnerabilities in the algorithm, of course.
So they might have just set it to filter for facebook[dictionaryword]+ and this was the best match.
* Actually any address, it's not limited to brute forcing vanity addresses.
According to this person's math [1]: "It would take ~6.7e40 times longer than the age of the universe to exhaust half of the keyspace of a AES-256 key"
I don't know if Tor uses AES-256, but I'm sure any reasonable encryption algorithm would be similar.
[1] https://www.reddit.com/r/theydidthemath/comments/1x50xl/time...
[1] https://news.ycombinator.com/item?id=11388997 [2] https://blog.cloudflare.com/the-trouble-with-tor/
The time calculation assumes our current computers and disregards Moore's law.
> It would take 10^38 Tianhe-2 Supercomputers running for the entirety of the existence of everything to exhaust half of the keyspace of a AES-256 key.
Let's assume that Moore's law is true for forever. In 300 years we will have a super computer capable of cracking a single AES-256 key in 37 millennium. However claiming that Moore's law will stay the same for 300 years when many think it won't last 30 is foolhardy.