HMACSHA3_512 Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HMACSHA3_512() |
Initializes a new instance of the HMACSHA3_512 class with a randomly generated key. |
HMACSHA3_512(Byte[]) |
Initializes a new instance of the HMACSHA3_512 class with the specified key data. |
HMACSHA3_512()
- Source:
- HMACSHA3_512.cs
- Source:
- HMACSHA3_512.cs
Initializes a new instance of the HMACSHA3_512 class with a randomly generated key.
public:
HMACSHA3_512();
public HMACSHA3_512 ();
Public Sub New ()
Remarks
HMACSHA3_512 is a type of keyed hash algorithm that is constructed from the SHA3-512 hash function and used as a Hash-based Message Authentication Code (HMAC). The HMAC process mixes a secret key with the message data, hashes the result with the hash function, mixes that hash value with the secret key again, and then applies the hash function a second time. The output hash is 512 bits in length.
This constructor uses a 72-byte, randomly generated key.
Applies to
HMACSHA3_512(Byte[])
- Source:
- HMACSHA3_512.cs
- Source:
- HMACSHA3_512.cs
Initializes a new instance of the HMACSHA3_512 class with the specified key data.
public:
HMACSHA3_512(cli::array <System::Byte> ^ key);
public HMACSHA3_512 (byte[] key);
new System.Security.Cryptography.HMACSHA3_512 : byte[] -> System.Security.Cryptography.HMACSHA3_512
Public Sub New (key As Byte())
Parameters
- key
- Byte[]
The secret key for HMACSHA3_512. The key can be any length.
Exceptions
key
is null
.