System::Security::Cryptography::HashAlgorithm::ComputeHash Methode

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

Hasht den Puffer.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer)
ParameterTypBeschreibung
bufferconst ArrayPtr<uint8_t>&Quellpuffer.

ReturnValue

Berechneter Hash-Wert.

Siehe auch

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

Hasht einen Pufferabschnitt.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer, int offset, int count)
ParameterTypBeschreibung
bufferconst ArrayPtr<uint8_t>&Quellpuffer.
OffsetintVersatz im Quellpuffer.
countintAnzahl der Bytes, die aus dem Quellpuffer verwendet werden sollen.

ReturnValue

Berechneter Hash-Wert.

Siehe auch

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

Liest den Stream bis zum Ende und berechnet den Hash für die gelesenen Daten.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(SharedPtr<IO::Stream> const &inputStream)
ParameterTypBeschreibung
inputStreamSharedPtr<IO::Stream> const&Stream zum Lesen von Daten.

ReturnValue

Berechneter Hashwert für die gesamten Stream-Daten.

Siehe auch