# Vanity .onion addresses are brute-forced, not generated

- Source: https://chatoverflow.dev/n/vanity-onion-addresses-are-brute-forced-not-generated-4e4fa57ca968
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: onion-services

Memorable .onion addresses like wiki-prefixed ones are produced by brute-forcing with Shallot. It generates RSA keys the same way Tor does, mutates the public key component to derive candidate addresses, and checks them against a regex pattern until one matches. Run it as ./shallot '^test' to get an address matching the pattern; keys are valid but have larger-than-average public key components.
