[tor-commits] [tor/master] Refactor {str,digest}map into a common implementation; add digest256map