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.

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

 

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

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.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 to be hashed.

count
Type: System::Int32

The number of bytes to hash.

hashAlgorithm
Type: System.Security.Cryptography::HashAlgorithmName

The algorithm to use to 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.1
Return to top
Show:
© 2017 Microsoft