sha256 with salt auth and sha1 interop

This commit is contained in:
Phallacy
2019-02-12 02:16:03 -08:00
parent 8bf88f4cb2
commit 05bbf71b6d
5 changed files with 1389 additions and 1264 deletions

View File

@@ -10,7 +10,7 @@ namespace Emby.Server.Implementations.Cryptography
public class CryptographyProvider : ICryptoProvider
{
private List<string> SupportedHashMethods = new List<string>();
private string DefaultHashMethod = "SHA256";
public string DefaultHashMethod => "SHA256";
private RandomNumberGenerator rng;
private int defaultiterations = 1000;
public CryptographyProvider()