[tor-talk] onion id calculation
Maxim Kammerer
mk at dee.su
Tue Sep 18 15:44:30 UTC 2012
On Tue, Sep 18, 2012 at 11:47 AM, grarpamp <grarpamp at gmail.com> 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
More information about the tor-talk
mailing list