## SHA256::Create() method


Creates hash algorithm instance.

```cpp
static SharedPtr<SHA256> System::Security::Cryptography::SHA256::Create()
```


### ReturnValue

Newly created hasher instance.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SHA256](../)
* Class [SHA256](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF for C++](../../../)
## SHA256::Create(const String\&) method


Creates hash algorithm instance.

```cpp
static SharedPtr<SHA256> System::Security::Cryptography::SHA256::Create(const String &algName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| algName | const String\& | Must be "System.Security.Cryptography.SHA256". |

### ReturnValue

Newly created hasher instance.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SHA256](../)
* Class [String](../../../system/string/)
* Class [SHA256](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF for C++](../../../)
