-api-id | -api-type |
---|---|
T:Windows.Security.Cryptography.Core.MacAlgorithmProvider |
winrt class |
Represents a message authentication code (MAC). A MAC uses symmetric key cryptography to prevent message tampering. For more information, see MACs, hashes, and signatures.
You create a MacAlgorithmProvider object by calling the static OpenAlgorithm method and specifying one of the following algorithm names:
- HMAC_MD5
- HMAC_SHA1
- HMAC_SHA256
- HMAC_SHA384
- HMAC_SHA512
- AES_CMAC
[!code-csharpShowMacAlgProviderClass]