## HashAlgorithm::Create method


根据名称创建哈希算法。

```cpp
static SharedPtr<HashAlgorithm> System::Security::Cryptography::HashAlgorithm::Create(const String &hashName)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| hashName | const String\& | 以下值之一："MD5"、"SHA1"、"SHA256"、"SHA384"、"SHA512"、"RIPEMD160"，或在它们前加上 "System.Security.Cryptography." 前缀。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [HashAlgorithm](../)
* Class [String](../../../system/string/)
* Class [HashAlgorithm](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Font for C++](../../../)
