## HMACSHA512::ComputeHash method


Calculates [HMAC](../../hmac/).

```cpp
ArrayPtr<uint8_t> System::Security::Cryptography::HMACSHA512::ComputeHash(const ArrayPtr<uint8_t> &buffer)
```


| Parameter | Type | Description |
| --- | --- | --- |
| buffer | const ArrayPtr\<uint8_t\>\& | Source buffer. |

### ReturnValue

Calculated [HMAC](../../hmac/) value.

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [HMACSHA512](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF for C++](../../../)
