[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] onion id calculation

On Tue, Sep 18, 2012 at 11:47 AM, grarpamp <grarpamp@xxxxxxxxx> wrote:
> But I never would
> have guessed your hint that there was some
> sort of common header being deleted from
> the key itself...

That code comes from another thread that you missed:

From the script:
# Tor hashes ASN.1 RSAPublicKey instead of SubjectPublicKeyInfo,
# which contains RSAPublicKey at offset 22; it then converts the
# first half of SHA-1 hash to Base32

Maxim Kammerer
Liberté Linux: http://dee.su/liberte
tor-talk mailing list