Mono Class Library: System.Security.Cryptography.HashAlgorithm Overview | Members

System.Security.Cryptography.HashAlgorithm.ComputeHash Method

Process the hash algorithm on the complete buffer specified.

public byte[] ComputeHash (byte[] buffer)

Parameters

buffer
The data buffer to be hashed by the algorithm.

Returns

The hash value of the processed buffer.

Remarks

A copy of the return value is kept in the HashAlgorithm.Hash property until the HashAlgorithm.Initialize method is called.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0