HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
lachesis
scallion
C#2014–2021
lachesis / scallion

scallion

GPU-based Onion Hash generator

8Distinct people
9Mentions
0Explicit recommenders
1.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

GPU-based Onion Hash generator

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year9 dated mentions

Observed mentions: 2014-07-02 04:14:15 UTC to 2021-10-13 10:27:21 UTC.

01232014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2021

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC303
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC101
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC211

What Hacker News says

9 sources
Facebook's hidden service address is particularly impressive: https://facebookcorewwwi.onion/ It seems like everything except the 'i' is a prefix, a lot of computing must have went in to generating it. One tool to do it is called 'Shallot' https://github.com/katmagic/Shallot The readme includes a table of estimated computing time required. A 15 char prefix like Facebook's is not even on the table, and a 14 char prefix is estimated to take 2.6 million years. There is also a GPU version which should be an order of magnitude faster: https://github.com/lachesis/scallion/blob/gpg/README.md Also, technically. the onion addresses not public keys, but derived from a public key. It's actually a hash of the public key. It appears that the hashing algorithm used is SHA1. Source: The last few lines of the easygen function https://github.com/katmagic/
Read the rest
In Someone Created a Tor Hidden Service to Phish My Tor Hidden Service
There is a program called scallion [1] which can generate Vanity addresses like these. I am assuming that they searched for facebookwww?.onion and then just made up the acronym for the last character. They are therefore trying to brute force the first 11 characters of the address. The author of scallion estimates one can achieve 520 MH/s with a AMD Radeon HD5770 GPU [2] which retails for $190 [3], they then give the formula for calculating the time (in seconds) to have a 50% chance of finding a matching URL: 2^(5length-1) / hashspeed Which with a length of 11 and a hashspeed of 520M, would take about a year with the one GPU [4]. The total cost of the hardware to have a 50% chance of finding the vanity address "facebookwww?.onion" within a week would therefore be around $11 000 [5]. Imho, this is well within the realms of possibility f
Read the rest
or a company as large as Facebook and does not suggest a weakness in the .onion scheme. [1] https://github.com/lachesis/scallion [2] https://github.com/lachesis/scallion#speed--performance [3] https://www.amazon.com/dp/B0032F63TW [4] http://www.wolframalpha.com/input/?i=%282^%285*11-1%29+%2F+5... [5] http://www.wolframalpha.com/input/?i=%24190+*+%282^%285*11-1... [edit] Dustcore is very correct, correcting for my initial mistake, it would take 1.1 million years on a single GPU using scallion. Finding that sort of result in a month would require $2.6 billion worth of GPUs. Now I know facebook is known for spending billions on questionable purchases, but this would be a bit extreme even for them. How the hell have they managed this?
In Making Connections to Facebook More Secure
I'm guessing they used something like scallion [0] or Shallot [1]. Bench marking Shallot on an Intel 3350P@3.10GHz: time ./shallot ^a -> 0.09 sec user time ./shallot ^aa -> 0.12 sec user time ./shallot ^aaa -> 0.12 sec user time ./shallot ^aaaa -> 0.47 sec user time ./shallot ^aaaaa -> 5.92 sec user time ./shallot ^aaaaaa -> 118 sec user Unfortunately OpenCL doesn't work with the nouveau drivers so I can't test scallion. Who knows how much they spent trying to brute force that onion address. EDIT: Ok looks like they went the backronym route [0] https://github.com/lachesis/scallion [1] https://github.com/katmagic/Shallot
In Making Connections to Facebook More Secure

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.