System::Security::Cryptography::HashAlgorithm::ComputeHash method
Contents
[
Hide
]HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t>&) method
Hashes buffer.
ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer)
Parameter | Type | Description |
---|---|---|
buffer | const ArrayPtr<uint8_t>& | Source buffer. |
ReturnValue
Calculated hash value.
See Also
- Typedef ArrayPtr
- Class HashAlgorithm
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++
HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t>&, int, int) method
Hashes buffer slice.
ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer, int offset, int count)
Parameter | Type | Description |
---|---|---|
buffer | const ArrayPtr<uint8_t>& | Source buffer. |
offset | int | Offset in the source buffer. |
count | int | Number of bytes to use from the source buffer. |
ReturnValue
Calculated hash value.
See Also
- Typedef ArrayPtr
- Class HashAlgorithm
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++
HashAlgorithm::ComputeHash(SharedPtr<IO::Stream> const&) method
Reads stream until end and calculates hash for the data read.
ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(SharedPtr<IO::Stream> const &inputStream)
Parameter | Type | Description |
---|---|---|
inputStream | SharedPtr<IO::Stream> const& | Stream to read data from. |
ReturnValue
Calculated hash value for the whole stream data.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Stream
- Class HashAlgorithm
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++