MacAlgorithmProvider.CreateHash(IBuffer) MacAlgorithmProvider.CreateHash(IBuffer) MacAlgorithmProvider.CreateHash(IBuffer) MacAlgorithmProvider.CreateHash(IBuffer) MacAlgorithmProvider.CreateHash(IBuffer) Method

Definition

Creates a CryptographicHash object that supports incremental hash operations.

public : CryptographicHash CreateHash(IBuffer keyMaterial)
CryptographicHash CreateHash(IBuffer keyMaterial) const;
public CryptographicHash CreateHash(IBuffer keyMaterial)
Public Function CreateHash(keyMaterial As IBuffer) As CryptographicHash
var cryptographicHash = macAlgorithmProvider.createHash(keyMaterial);

Parameters

keyMaterial
IBuffer IBuffer IBuffer

Random data used to help generate the hash. You can call the GenerateRandom method to create the random data.

Returns

A CryptographicHash object that supports incremental hash operations.