Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RSA::HashData Method (array<Byte>^, Int32, Int32, HashAlgorithmName)

 

When overridden in a derived class, computes the hash value of a specified portion of a byte array by using a specified hashing algorithm.

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

protected:
virtual array<unsigned char>^ HashData(
	array<unsigned char>^ data,
	int offset,
	int count,
	HashAlgorithmName hashAlgorithm
)

Parameters

data
Type: array<System::Byte>^

The data to be hashed.

offset
Type: System::Int32

The index of the first byte in data that is to be hashed.

count
Type: System::Int32

The number of bytes to hash.

hashAlgorithm
Type: System.Security.Cryptography::HashAlgorithmName

The algorithm to use in hash the data.

Return Value

Type: array<System::Byte>^

The hashed data.

Exception Condition
NotImplementedException

A derived class must override this method.

.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft