bitrot: Start using blake2b algorithm and remove sha512 usage. (#1957)

Fixes #1952
This commit is contained in:
Harshavardhana
2016-06-22 17:13:26 -07:00
committed by Anand Babu (AB) Periasamy
parent 75dddfb2ae
commit e10934a88e
15 changed files with 1758 additions and 3119 deletions
+1 -1
View File
@@ -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)),
}
}