3

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]

Source.

4

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.