New: Build on Net6

This commit is contained in:
Qstick
2021-11-17 21:59:15 -06:00
parent c263c6f365
commit cb7cbb74e0
43 changed files with 139 additions and 138 deletions
@@ -139,7 +139,7 @@ namespace NzbDrone.Core.Indexers.Definitions
private static string Sha1Hash(string input)
{
var hash = new SHA1Managed().ComputeHash(Encoding.UTF8.GetBytes(input));
var hash = SHA1.Create().ComputeHash(Encoding.UTF8.GetBytes(input));
return string.Concat(hash.Select(b => b.ToString("x2")));
}