ComputeHash()
Contents
[
Hide
]HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t>&) method
Hashes buffer.
ArrayPtr<uint8_t> System::Security::Cryptography::HashAlgorithm::ComputeHash(const ArrayPtr<uint8_t> &buffer)
Arguments
Parameter | Type | Description |
---|---|---|
buffer | const ArrayPtr<uint8_t>& | Source buffer. |
Return Value
Calculated hash value.
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)
Arguments
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. |
Return Value
Calculated hash value.
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)
Arguments
Parameter | Type | Description |
---|---|---|
inputStream | SharedPtr<IO::Stream> const& | Stream to read data from. |
Return Value
Calculated hash value for the whole stream data.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class HashAlgorithm
- Class Stream
- Namespace System::Security::Cryptography
- Library Aspose.Slides