From 22b3cfc86ee92cdf78adb4f79d59e677498adf1a Mon Sep 17 00:00:00 2001 From: Deathmax Date: Sat, 7 Jan 2012 21:39:38 +0800 Subject: [PATCH] Default HashAlgo to sha512, which is config's default. Workaround for MD5/SHA512 hashing mixups. --- TShockAPI/Properties/AssemblyInfo.cs | 4 ++-- TShockAPI/Utils.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index 576805f2..eb510313 100644 --- a/TShockAPI/Properties/AssemblyInfo.cs +++ b/TShockAPI/Properties/AssemblyInfo.cs @@ -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")] diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 7dc0a04a..016ae80d 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -554,7 +554,7 @@ namespace TShockAPI return ""; } - public string HashAlgo = "md5"; + public string HashAlgo = "sha512"; public readonly Dictionary> HashTypes = new Dictionary> {