character editing

This commit is contained in:
dingo
2025-12-25 23:02:57 -05:00
parent 439920230a
commit ba747d1891
5 changed files with 681 additions and 7 deletions
+2 -3
View File
@@ -305,9 +305,8 @@ public class IndexModel : AdminPageModel
if (response.IsSuccessStatusCode)
{
var bytes = await response.Content.ReadAsByteArrayAsync();
var md5create = MD5.Create();
var hash = md5create.ComputeHash(bytes);
md5create.Dispose();
using var md5c = MD5.Create();
var hash = md5c.ComputeHash(bytes);
return Convert.ToHexString(hash).ToLower();
}
}