More hashing services and HMAC services

This commit is contained in:
2024-09-08 17:08:22 +02:00
parent 535a2cedc0
commit def0258695
24 changed files with 275 additions and 56 deletions
@@ -0,0 +1,10 @@
using System.Security.Cryptography;
namespace System.Security.Hashing;
public sealed class HMACSha384Service : BaseHMACService<HMACSHA384>, IHMACSha384Service
{
protected override HMACSHA384 GetHashAlgorithm(byte[] key)
{
return new HMACSHA384(key);
}
}