aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Cryptography/PasswordHash.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-07-29 23:47:25 +0200
committerBond_009 <bond.009@outlook.com>2019-08-11 15:54:58 +0200
commit5eaf5465a55df0359f85077b7922ca4a45681831 (patch)
tree73b87fef4f2b7e857bdd4177d7fdce3fe79aaaeb /MediaBrowser.Model/Cryptography/PasswordHash.cs
parent1ad67e223f581efd417efa2bb1cb626c50a6f5a9 (diff)
Check checksum for plugin downloads
* Compare the MD5 checksum when downloading plugins * Reduced log spam due to http requests * Removed 'GetTempFileResponse' function from HttpClientManager * Fixed caching for HttpClientManager
Diffstat (limited to 'MediaBrowser.Model/Cryptography/PasswordHash.cs')
-rw-r--r--MediaBrowser.Model/Cryptography/PasswordHash.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Cryptography/PasswordHash.cs b/MediaBrowser.Model/Cryptography/PasswordHash.cs
index df32fdb00..4bcf0c117 100644
--- a/MediaBrowser.Model/Cryptography/PasswordHash.cs
+++ b/MediaBrowser.Model/Cryptography/PasswordHash.cs
@@ -84,6 +84,7 @@ namespace MediaBrowser.Model.Cryptography
_hash = Array.Empty<Byte>();
}
+ // TODO: move this class and use the HexHelper class
public static byte[] ConvertFromByteString(string byteString)
{
byte[] bytes = new byte[byteString.Length / 2];