Use SHA2 for hashing

This commit is contained in:
Dean Herbert
2017-07-27 17:38:40 +09:00
parent 5f53426a9a
commit 996e5e8b4a
4 changed files with 6 additions and 4 deletions

View File

@ -44,7 +44,7 @@ namespace osu.Game.IO
public FileInfo Add(Stream data, string filename = null)
{
string hash = data.GetMd5Hash();
string hash = data.GetSHA2Hash();
var info = new FileInfo
{