MessageCertificateX509.Hash Method (Byte[], String)
Hashes data using a HashAlgorithm algorithm.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static byte[] Hash(
byte[] data,
string algorithmName
)
public:
static array<unsigned char>^ Hash(
array<unsigned char>^ data,
String^ algorithmName
)
Public Shared Function Hash (
data As Byte(),
algorithmName As String
) As Byte()
Parameters
data
Type: System.Byte[]Data to hash.
algorithmName
Type: System.StringHash algorithm to use.
Return Value
Type: System.Byte[]
Hashed data.
See Also
Hash Overload
MessageCertificateX509 Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top