tailscale/util
Joe Tsai 9a0c8bdd20 util/deephash: make hash type opaque
The fact that Hash returns a [sha256.Size]byte leaks details about
the underlying hash implementation. This could very well be any other
hashing algorithm with a possible different block size.

Abstract this implementation detail away by declaring an opaque type
that is comparable. While we are changing the signature of UpdateHash,
rename it to just Update to reduce stutter (e.g., deephash.Update).

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2021-07-20 11:03:25 -07:00
..
cibuild wgengine/magicsock: increase legacy ping timeout again 2021-02-10 13:50:18 -08:00
cmpver
deephash util/deephash: make hash type opaque 2021-07-20 11:03:25 -07:00
dnsname
endian
groupmember
jsonutil
lineread util/lineread: add docs to Reader 2020-11-19 12:14:58 -08:00
osshare
pidowner
racebuild
systemd
uniq
winutil net/dns: do not run wsl.exe as LocalSystem 2021-06-30 10:11:33 -07:00