feat(api, core): Workload - отчет по РГ - список работ.

This commit is contained in:
Mikhail Trubnikov
2026-06-03 15:17:36 +10:00
parent 66d1fe7b0d
commit 1f4d338422
8 changed files with 71 additions and 208 deletions

View File

@@ -504,7 +504,9 @@ namespace PARR.Infrastructure.Redis
if (keyPartsToHash != null && keyPartsToHash.Length > 0)
{
var partsToHashStr = string.Join(mainSeparator, keyPartsToHash).Replace(" ", wordSeparator);
var partsToHashStr = string.Join(mainSeparator, keyPartsToHash)
.Replace(" ", wordSeparator)
.ToLower();
using var sha256 = System.Security.Cryptography.SHA256.Create();
var hashedBytes = sha256.ComputeHash(System.Text.Encoding.UTF8.GetBytes(partsToHashStr));