[tor-bugs] #28398 [Core Tor/Stem]: Please provide a method on descriptors for calculating digests
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Nov 11 16:23:14 UTC 2018
#28398: Please provide a method on descriptors for calculating digests
-------------------------------+--------------------
Reporter: irl | Owner: atagar
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
All throughout documents available through dir-spec there are SHA1 and
SHA256 digests to reference other documents. It's easy enough to follow
these but if you already have the document but want to get its digest, I
can't see the method for doing so.
This would ideally return a lower-case SHA1 hex digest, or a base64
encoded SHA256 digest, depending on which function you call.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28398>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list