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 (Stream^, HashAlgorithmName)

 

When overridden in a derived class, computes the hash value of a specified binary stream by using a specified hashing algorithm.

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

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

Parameters

data
Type: System.IO::Stream^

The binary stream to hash.

hashAlgorithm
Type: System.Security.Cryptography::HashAlgorithmName

The hash algorithm.

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