Share via


ComputeHash Method (Byte[], Int32, Int32)

[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 region of the specified byte array.

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

Syntax

'Declaration
Public Function ComputeHash ( _
    buffer As Byte(), _
    offset As Integer, _
    count As Integer _
) As Byte()
public byte[] ComputeHash(
    byte[] buffer,
    int offset,
    int count
)
public:
array<unsigned char>^ ComputeHash(
    array<unsigned char>^ buffer, 
    int offset, 
    int count
)
member ComputeHash : 
        buffer:byte[] * 
        offset:int * 
        count:int -> byte[] 
public function ComputeHash(
    buffer : byte[], 
    offset : int, 
    count : int
) : 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