I want to use the HMACSHA1
class in a project but the namespace System.Security.Cryptography
is missing. If I add the reference System.Security
, I find the namespace Cryptography
but without the class HMACSHA1
. And I can't find the namespace Windows.Security.Cryptography
which seems to replace System.Security.Cryptography
.
My projet targets the framework .NET 4.5
and the .NET
for Windows Store apps and He use Nuget
on Visual 2012
on Windows 7
.
Someone have a solution to this problem ?
According to the MSDN entry on HMACSHA1
There's no information that it is included in the Portable Class Library
.
BUT: there's Portable Class Libraries Contrib out there, which includes a port of HMACSHA1