System::Security::Cryptography::HashAlgorithm::ComputeHash method

HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t>&) method

Hashar buffert.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer)
ParameterTypeBeskrivning
buffertconst ArrayPtr<uint8_t>&Källbuffert.

ReturnValue

Beräknat hashvärde.

Se även

HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t>&, int, int) method

Hashar buffertdel.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer, int offset, int count)
ParameterTypeBeskrivning
buffertconst ArrayPtr<uint8_t>&Källbuffert.
offsetintOffset i källbufferten.
countintAntal byte att använda från källbufferten.

ReturnValue

Beräknat hashvärde.

Se även

HashAlgorithm::ComputeHash(SharedPtr<IO::Stream> const&) method

Läser ström tills slutet och beräknar hash för den lästa datan.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(SharedPtr<IO::Stream> const &inputStream)
ParameterTypeBeskrivning
inputStreamSharedPtr<IO::Stream> const&Ström att läsa data från.

ReturnValue

Beräknat hashvärde för hela strömdatan.

Se även