mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
9a0c8bdd20
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> |
||
---|---|---|
.. | ||
cibuild | ||
cmpver | ||
deephash | ||
dnsname | ||
endian | ||
groupmember | ||
jsonutil | ||
lineread | ||
osshare | ||
pidowner | ||
racebuild | ||
systemd | ||
uniq | ||
winutil |