An onion domain key generator that creates keys for domains consisting of four four-letter words.

y.st 0c9410ffd8 Uploaded project to <https://notabug.org/y.st./fouroni> 8 years ago
tools 0c9410ffd8 Uploaded project to <https://notabug.org/y.st./fouroni> 8 years ago
LICENSE aa14c11b89 Init commit 8 years ago
README.txt 0c9410ffd8 Uploaded project to <https://notabug.org/y.st./fouroni> 8 years ago
fouroni 0c9410ffd8 Uploaded project to <https://notabug.org/y.st./fouroni> 8 years ago

README.txt

For a while now, I have been trying to find a way to generate very good
onion addresses. I have not reached the point that I want to be at yet,
but this project is as close as I have come so far. I will continue
trying to find a way to generate keys for better onion domains.

My initial plan was to stuff the entire English dictionary into a
regular expression and feed it to eschalot. The regular expression
would specify that the pattern (which would match any English word)
must repeat until the end, resulting in onion domains that were
composed entirely of some phrase that might or might not have meaning,
but would be more recognizable and more memorable than the average
onion domain. This did not work out. Eschalot simply could not handle a
regular expression that large.

With this project, I have found some middle ground. I used a larger
dictionary, but only took words from it that are four or sixteen
letters long. I would have loved to include eight-letter words as well,
but even if I used only eight-letter words, there are too many of them
and eschalot cannot handle the regular expression needed to contain
them all.

To use the main script in this repository, you will need eschalot,
which can be found at .
The script has a built-in regular expression based on the word list
found in "tools/4-or-16-letters-English.txt", a word list composed of
the four- and sixteen-letter words found in the Debain dictionary
located in the "wamerican-insane" package. Creating your own version of
the main script that instead uses a regular expression based on a word
list of your own choosing is easy. First, create a new-line-delimited
list of the words that you want to use and save it in a file. Second,
modify the one line in "tools/wordlistregexp.php" that tells the script
where to find the word list. Finally, run
"php -f tools/wordlistregexp.php > fouroni" on your command line from
the directory that this file resides in. Creating a custom version of
fouroni in this way will require that the PHP CLI be installed and that
my library of classes and functions be accessible in the include path.
My library may be found at .