System::Security::Cryptography::HashAlgorithm::ComputeHash método

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

Hash del búfer.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer)
ParámetroTipoDescripción
búferconst ArrayPtr<uint8_t>&Búfer de origen.

ReturnValue

Valor de hash calculado.

Ver también

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

Hash de una porción del búfer.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer, int offset, int count)
ParámetroTipoDescripción
búferconst ArrayPtr<uint8_t>&Búfer de origen.
desplazamientointDesplazamiento en el búfer de origen.
countintNúmero de bytes a usar del búfer de origen.

ReturnValue

Valor de hash calculado.

Ver también

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

Lee el flujo hasta el final y calcula el hash de los datos leídos.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(SharedPtr<IO::Stream> const &inputStream)
ParámetroTipoDescripción
inputStreamSharedPtr<IO::Stream> const&Flujo para leer datos.

ReturnValue

Valor de hash calculado para todos los datos del flujo.

Ver también