How does the name of a Tor hidden service (zzzz.onion) encode the 80 bit hash mentioned below?

"permanent-id" is the permanent identifier of the hidden service,
consisting of 80 bits. It can be calculated by computing the hash value
of the public hidden service key and truncating after the first 80 bits:

   permanent-id = H(public-key)[:10]


1 Answer 1


I hope I'm answering the right question, but:

onion_address = base32(permanent_id) || ".onion",

Where base32 is base32 encoding.
Source: Efficient botnet herding within the Tor network

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .