1
0
mirror of https://github.com/golang/go synced 2024-11-14 13:30:30 -07:00
go/src/archive
qmuntal 722ecf3447 archive/tar: use hash/crc32 instead of crypto/md5 for test checksums
Using MD5 for checksums in tests is an overkill, as MD5 is designed for
cryptographic purposes. Use hash/crc32 instead, which is designed for
detecting random data corruptions, aka checksums.

Change-Id: I03b30ed7f38fba2a2e59d06bd4133b495f64a013
Reviewed-on: https://go-review.googlesource.com/c/go/+/617675
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: David Chase <drchase@google.com>
2024-10-03 15:48:09 +00:00
..
tar archive/tar: use hash/crc32 instead of crypto/md5 for test checksums 2024-10-03 15:48:09 +00:00
zip archive/{zip,tar}: fix Writer.AddFS to include empty directories 2024-09-23 14:32:33 +00:00