Share via


IHashProvider.CreateHash Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Computes the hash value of plain text.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography (in Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll)

Syntax

'Declaration
FunctionCreateHash ( _
    plaintextAs Byte() _
) As Byte()
byte[] CreateHash(
    byte[] plaintext
)
array<unsigned char>^ CreateHash(
    array<unsigned char>^ plaintext
)
functionCreateHash(
    plaintext : byte[]
) : byte[]

Parameters

  • plaintext
    Type: array<System.Byte>
    The input for which to compute the hash.

Return Value

The computed hash code.

See Also

IHashProvider Interface

Microsoft.Practices.EnterpriseLibrary.Security.Cryptography Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.