How to calculate HMAC-SHA1 authentication code in .NET 4.5 Core
问题 I’m currently facing a big problem (Environment: .NET 4.5 Core): We need to protect a message with a key using a HMAC-SHA1 algorithm. The problem is that the HMACSHA1-class of the namespace System.Security.Cryptography and the namespace itself do not exist in .NET 4.5 Core, this namespace only exists in the normal version of .NET. I tried a lot of ways to find an equivalent namespace for our purpose but the only thing I found was Windows.Security.Cryptography which sadly does not offer a HMAC