Metodo System::Security::Cryptography::HashAlgorithm::ComputeHash

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

Esegue l’hash del buffer.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer)
ParametroTipoDescrizione
bufferconst ArrayPtr<uint8_t>&Buffer di origine.

ReturnValue

Valore hash calcolato.

Vedi anche

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

Esegue l’hash di una porzione del buffer.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer, int offset, int count)
ParametroTipoDescrizione
bufferconst ArrayPtr<uint8_t>&Buffer di origine.
offsetintOffset nel buffer di origine.
countintNumero di byte da utilizzare dal buffer di origine.

ReturnValue

Valore hash calcolato.

Vedi anche

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

Legge lo stream fino alla fine e calcola l’hash per i dati letti.

ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(SharedPtr<IO::Stream> const &inputStream)
ParametroTipoDescrizione
inputStreamSharedPtr<IO::Stream> const&Stream da cui leggere i dati.

ReturnValue

Valore hash calcolato per tutti i dati dello stream.

Vedi anche