[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6320 [Atlas]: Implement fingerprint hash based search (bridge support)
#6320: Implement fingerprint hash based search (bridge support)
-------------------------+--------------------------------------------------
Reporter: hellais | Owner: hellais
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Atlas | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by karsten):
Note that hashing a fingerprint here means convert hex to binary, apply
SHA1, convert back to hex. For example, here's how you'd hash gabelmoo's
fingerprint in Python:
{{{
>>> from binascii import *
>>> from hashlib import sha1
>>> sha1(a2b_hex("f2044413dac2e02e3d6bcf4735a19bca1de97281")).hexdigest()
'16ef359c2fbf50fc08cf9a95717be3060575b67e'
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6320#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs