## HashAlgorithm::Create method


Creates hash algorithm based on name.

```cpp
static SharedPtr<HashAlgorithm> System::Security::Cryptography::HashAlgorithm::Create(const String &hashName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| hashName | const String\& | One of the following values: "MD5", "SHA1", "SHA256", "SHA384", "SHA512", "RIPEMD160" or any of them with "System.Security.Cryptography." prefix. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [HashAlgorithm](../)
* Class [String](../../../system/string/)
* Class [HashAlgorithm](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF for C++](../../../)
