Is there a function I can use in SQL Server to handle HMAC-SHA256 encryption? I see examples of SHA256(SHA256 in T-sql stored procedure) using HASHBYTES but need a way to handle HMAC-SHA256 within SQL Server.
Asked
Active
Viewed 1,380 times
1
-
If the algoritm isn't natively supported in SQL Server, you'll likely need to look into using a CLR function. – Thom A Apr 07 '20 at 19:34
-
Link for .NET Api for CLR Function: https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.hmacsha256?view=netframework-4.8 – David Browne - Microsoft Apr 07 '20 at 19:41
-
Also define "handle". – TomTom Apr 07 '20 at 19:54