diff --git a/lib/xBrainLab.Security.Cryptography.dll b/lib/xBrainLab.Security.Cryptography.dll deleted file mode 100644 index f4727f0..0000000 Binary files a/lib/xBrainLab.Security.Cryptography.dll and /dev/null differ diff --git a/src/IF.Lastfm.Core/Api/LastAuth.cs b/src/IF.Lastfm.Core/Api/LastAuth.cs index 965fe29..0a7df77 100644 --- a/src/IF.Lastfm.Core/Api/LastAuth.cs +++ b/src/IF.Lastfm.Core/Api/LastAuth.cs @@ -2,10 +2,10 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using Arcnet.MyConvert; using IF.Lastfm.Core.Api.Commands.AuthApi; using IF.Lastfm.Core.Api.Helpers; using IF.Lastfm.Core.Objects; -using xBrainLab.Security.Cryptography; namespace IF.Lastfm.Core.Api { @@ -74,7 +74,10 @@ public string GenerateMethodSignature(string method, Dictionary builder.Append(_apiSecret); - return MD5.GetHashString(builder.ToString()); + var md5 = builder.ToString().ToMd5(); + + return md5; + } } } \ No newline at end of file diff --git a/src/IF.Lastfm.Core/IF.Lastfm.Core.csproj b/src/IF.Lastfm.Core/IF.Lastfm.Core.csproj index 2e55a38..b623a90 100644 --- a/src/IF.Lastfm.Core/IF.Lastfm.Core.csproj +++ b/src/IF.Lastfm.Core/IF.Lastfm.Core.csproj @@ -107,6 +107,9 @@ + + ..\..\packages\MyConvert.1.0.1.6\lib\MyConvert.dll + ..\..\packages\Newtonsoft.Json.6.0.5\lib\portable-net45+wp80+win8+wpa81\Newtonsoft.Json.dll @@ -119,9 +122,6 @@ ..\..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Primitives.dll - - ..\..\lib\xBrainLab.Security.Cryptography.dll - diff --git a/src/IF.Lastfm.Core/packages.config b/src/IF.Lastfm.Core/packages.config index 2096199..ca71ac9 100644 --- a/src/IF.Lastfm.Core/packages.config +++ b/src/IF.Lastfm.Core/packages.config @@ -3,5 +3,6 @@ + \ No newline at end of file