Share via


ComputeHash Method (Byte[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Computes the hash value for the specified byte array.

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Function ComputeHash ( _
    buffer As Byte() _
) As Byte()
public byte[] ComputeHash(
    byte[] buffer
)
public:
array<unsigned char>^ ComputeHash(
    array<unsigned char>^ buffer
)
member ComputeHash : 
        buffer:byte[] -> byte[] 
public function ComputeHash(
    buffer : byte[]
) : byte[]

Parameters

Return Value

Type: array<System. . :: . .Byte> [] () [] []
The computed hash code.

.NET Framework Security

See Also

Reference

HashAlgorithm Class

ComputeHash Overload

System.Security.Cryptography Namespace