Default HashAlgo to sha512, which is config's default.

Workaround for MD5/SHA512 hashing mixups.
This commit is contained in:
Deathmax 2012-01-07 21:39:38 +08:00
parent 75be35ac22
commit 22b3cfc86e
2 changed files with 3 additions and 3 deletions

View file

@ -48,5 +48,5 @@ using System.Runtime.InteropServices;
// Build Number
// MMdd of the build
[assembly: AssemblyVersion("3.4.5.0106")]
[assembly: AssemblyFileVersion("3.4.5.0106")]
[assembly: AssemblyVersion("3.4.5.0107")]
[assembly: AssemblyFileVersion("3.4.5.0107")]

View file

@ -554,7 +554,7 @@ namespace TShockAPI
return "";
}
public string HashAlgo = "md5";
public string HashAlgo = "sha512";
public readonly Dictionary<string, Func<HashAlgorithm>> HashTypes = new Dictionary<string, Func<HashAlgorithm>>
{