mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-16 14:39:28 +00:00
11 lines
278 B
C#
11 lines
278 B
C#
using System.Security.Cryptography;
|
|
|
|
namespace System.Security.Hashing;
|
|
public sealed class HMACSha256Service : BaseHMACService<HMACSHA256>, IHMACSha256Service
|
|
{
|
|
protected override HMACSHA256 GetHashAlgorithm(byte[] key)
|
|
{
|
|
return new HMACSHA256(key);
|
|
}
|
|
}
|