[tor-commits] [tor/master] Move secret-to-key functionality into a separate module