[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:
https://lists.torproject.org/pipermail/tor-talk/2012-August/025409.html
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
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk