[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Hashes data using HashAlgorithm algorithm

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
byte[] 
Hash(
	
byte[] 
data,
	
string 
algorithmName
)
Public 
Shared 
Function 
Hash ( _
	
data 
As 
Byte(), _
	
algorithmName 
As 
String _
) 
As 
Byte()
public:
static 
array<
unsigned char>^ 
Hash(
	
array<
unsigned char>^ 
data, 
	
String^ 
algorithmName
)

Parameters

data
array< Byte > [] () [] []
Data to hash
algorithmName
String
Hash algorithm to use

Return Value

Hashed data

See Also