<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><pre style="padding: 0px; margin-top: 0px; margin-bottom: 0px; font-size: 13.333333015441895px; background-color: rgb(255, 255, 255);" class=""><pre style="padding: 0px; margin-top: 0px; margin-bottom: 0px;" class="">Here is an excerpt from the “Tor control protocol"</pre><div class=""><br class=""></div></pre><pre style="padding: 0px; margin-top: 0px; margin-bottom: 0px; font-size: 13.333333015441895px; background-color: rgb(255, 255, 255);" class="">If the 'HashedControlPassword' option is set, it must contain the salted
  hash of a secret password.  The salted hash is computed according to the
  S2K algorithm in RFC 2440 (OpenPGP), and prefixed with the s2k specifier.
  This is then encoded in hexadecimal, prefixed by the indicator sequence
  "16:".  Thus, for example, the password 'foo' could encode to:
     16:660537E3E1CD49996044A3BF558097A981F539FEA2F9DA662B4626C1C2</pre><div class=""><pre style="padding: 0px; margin-top: 0px; margin-bottom: 0px; font-size: 13.333333015441895px; background-color: rgb(255, 255, 255);" class=""><a href="https://gitweb.torproject.org/torspec.git/tree/control-spec.txt#n3116" class="">3116</a></pre><div class=""><br class=""></div></div><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 14, 2017, at 5:33 PM, Geoff Down <<a href="mailto:geoffdown@fastmail.net" class="">geoffdown@fastmail.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello all,<br class="">what sort of crazy bug would make Tor give different hashes for the same<br class="">password?<br class=""><br class="">$ tor --hash-password hello<br class="">16:735E6FA5355D4146606AFE25B61B411DF419878C99705164D038FC99BC<br class="">$ tor --hash-password hello<br class="">16:8201E7D35BB8CACB60BF8947B49A3480BA1A17E77EDA8BE45790746884<br class="">$ tor --version<br class="">Tor version 0.3.1.7 (git-6babd3d9ba9318b3).<br class=""><br class="">(on OSX 10.4).<br class="">GD<br class="">_______________________________________________<br class="">tor-relays mailing list<br class=""><a href="mailto:tor-relays@lists.torproject.org" class="">tor-relays@lists.torproject.org</a><br class="">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays<br class=""></div></div></blockquote></div><br class=""></body></html>