mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
bitrot: Start using blake2b algorithm and remove sha512 usage. (#1957)
Fixes #1952
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
75dddfb2ae
commit
e10934a88e
@@ -79,7 +79,7 @@ func erasureCreateFile(disks []StorageAPI, volume string, path string, partName
|
||||
blockIndex := eInfo.Distribution[index] - 1
|
||||
checkSums[blockIndex] = checkSumInfo{
|
||||
Name: partName,
|
||||
Algorithm: "sha512",
|
||||
Algorithm: "blake2b",
|
||||
Hash: hex.EncodeToString(hashWriters[blockIndex].Sum(nil)),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user